[
Lists Home |
Date Index |
Thread Index
]
8/14/2002 3:17:38 PM, John Cowan <jcowan@reutershealth.com> wrote:
>
> <book>
> <author sort="brownjohn">John Brown</author>
> <title>My Life</title>
> </book>
>
>SLAIXifies somewhat as follows:
><slaix:slaix slaix:xmlns="..." xmlns="http://www.w3.org/TR/xml-infoset">
> <document slaix:id="root" children="e1" document_element="e1" base_URI="..."/>
> <element slaix:id="e1" local_name="book" children="e2 e3"
> attributes="" namespace_attributes="" in-scope_namespaces="n1"
> base_URI="..." parent="root"/>
> <element slaix:id="e2" local_name="author" children="c1 c2 c3 c4 c5 c6 c7 c8 c9 c10"
> attributes="a1" namespace_attributes="" in-scope_namespaces="n1"
> base_URI="..." parent="book"/>
> <element slaix:id="e3" local_name="title" children="c11 c12 c13 c14 c15 c16 c17"
> attributes="" namespace_attributes="" in-scope_namespaces="n1"
> base_URI="..." parent="root"/>
> <attribute slaix:id="a1" local_name="sort" normalized_value="brownjohn"
> specified="true" attribute_type="CDATA" owner_element="e2"/>
> <namespace slaix:id="n1" prefix="xml"
> namespace_name="http://www.w3.org/XML/1998/namespace"/>
> <character slaix:id="c1" character_code="74" element_content_whitespace
> = "false" parent="e2"/>
> <!-- boring character elements omitted -->
></slaix:slaix>
May the gods have mercy on our miserable souls! XML was supposed to simplify SGML,
now there will be a rush to SGML because it is so much simpler than XML :~)
Not a substantive criticism of SLAIX, just whining about the unfairness of life, sorry.
|