XML & Postmodernism, was: Separation of formatting...

Jason R. Cupp (jcupp@essc.psu.edu)
Tue, 19 May 1998 09:44:19 -0400


Gregg Reynolds wrote:
>
> Personally I've come around to a pragmatist position on this, after some
> time as a radical Free The Text purist. It's just not possible to
> encode information without also encoding something about what we're
> supposed to do with it, any more than it's possible to draw a "real"
> line segment. But we can certainly do some very useful things by
> trying.
>
> An interesting paper on a similar topic is at
> http://www.sil.org/sgml/ohco1.html, "Refining Our Notion of What Text
> Really Is: The Problem of Overlapping Hierarchies."
> --

That's a great paper! Was/is there any attempt to address these issues
in XML? -- the idea that there is no unique logical privileged
perspective as it relates to the encoding of a text (or at least there
shouldn't be); that multiple hierarchical sub perspectives can exist
orthogonally within a non-hierarchical perspective. The work of any
parser would be to deconstruct whatever perspective he/she wished
(through a stylesheet perhaps). What immediately came to mind were
namespaces:

<P:person>
<P1:name>
Mr.
<P2:first>Thurston</P2:first>
<P2:middle>J.</P2:middle>
<P2:last>Howell</P2:last>
, III
</P1:name>
</P:person>

Where P2,P1 are sub perspectives of P. With a perspective aware parser,
this no longer becomes mixed content. If you follow the logic through
then there should really be no unique logical API for XML such as SAX or
DOM...

--
Jason R. Cupp (jcupp@essc.psu.edu)
The Pennsylvania State University