XSchema: root element

Peter Murray-Rust peter at ursus.demon.co.uk
Fri Jul 3 21:57:05 BST 1998


At 13:47 03/07/98 +0200, Ron Bourret wrote:
>Marcus Carr wrote:
>
>> Not me - conversion work of legacy data routinely involves pulling
documents 
>to
>> pieces, working on a fragment (such as a table) then putting it all back
>> together. A language such as OmniMark will allow you to find fragments
without
>> parsing the data around it - under those circumstances, what is proposed is
>> unduly restrictive.
>
>I'm not sure I understand.  We want to give an authoring tool/XSchema 
>explorer/etc. a way to determine the roots of useful/possible documents.
That 
>is, it is a way for the XSchema designer to say, "If you start with any of
these 
>elements, the resulting documents can be interpreted by the nifty software I 
>wrote to go with this XSchema."
>
Many of us will be authoring documents where the 'root' is almost
meaningless. It is highly probable that many 'CML' documents will have a
root element of <HTML:HTML>. Example:
<?xml:namespace ns="http://w3.org/some/where/html" prefix="H"?>
<?xml:namespace ns="http://xml-cml.org/cml" prefix="C"?>

<H:HTML>
  <H:HEAD>... </H:HEAD>
  <H:Body>
    <H:P>
      <H:UL>
        <H:LI>
          <C:MOL title="benzene">...</C:MOL>
        </H:LI>
        <H:LI>
          <C:MOL title="toluene">...</C:MOL>
        </H:LI>
        <H:LI>
          <C:MOL title="ortho-xylene">...</C:MOL>
        </H:LI>
      </H:UL>
    </H:P>
  </H:BODY>
</H:HTML>

The fact that this document uses H:HTML as its 'root' is virtually
irrelevant to its semantic message.

	P.



Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

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