Separation of formatting...

Paul Prescod papresco at technologist.com
Fri May 1 00:28:30 BST 1998


Sean Mc Grath wrote:
> 
...
> Here is a pieces of data marked up three ways:-
> 
> Version 1 : Purely Formatting Mindset (RTF)
>          "{\i Customer} Joe Bloggs \par"
> 
> Version 2 : SGML - Generic Markup
>         <p><i>Customer</i>Joe Bloggs</p>
> 
> Version 3 : SGML - Data Modelling
>         <Customer>Joe Bloggs</Customer>
>
> Somewhere along the line, people started thinking
> as in version 3 above. I have no idea when this
> started to happen. Anyone out there know?
>...

These live on a continuum. I don't think that there is a shift from one to
another. SGML allows you to decide what is formatting and what is
abstraction. It is decided on an element by element basis and most DTDs
will have different parts at different points along the continuum. For
instance bibliographies typically tend towards data modelling, predictable
body text towards what the middle, and unpredictable body text (e.g. web
pages) towards the formatting side.

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

"Perpetually obsolescing and thus losing all data and programs every 10
years (the current pattern) is no way to run an information economy or
a civilization." - Stewart Brand, founder of the Whole Earth Catalog
http://www.wired.com/news/news/culture/story/10124.html



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list