Re: Separation of formatting...

Paul Prescod (papresco@technologist.com)
Thu, 30 Apr 1998 13:45:26 -0400


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