XSchema Question 5: Root element issues
Peter Murray-Rust
peter at ursus.demon.co.uk
Wed Jun 3 00:05:11 BST 1998
At 17:16 02/06/98 UT, Simon St.Laurent wrote:
[...]
>--------------------
>
>In XML documents, per 2.1 of the XML specification:
>--------------------
>There is exactly one element, called the root, or document element, no
part of
>which appears in the content of any other element.
>--------------------
>
[...]
>An XSchema document might begin:
><?xml version='1.0' ?>
><?xml:namespace ns='http://tobedetermined.com' prefix='XSC' ?>
><XSC:XSchema>
>...
></XSC:XSchema>
>
>Do we want to provide additional information in this root element regarding
>XSchema version, for instance?
It is going to be *very* important in forthcoming discussion that we make
it clear when we are talking about the XSchema document or the document
instance. This duality will come up throughout the process. Here we are
talking about the root element *of the XSchema when represented as XML*.
There has to be one, or it's not valid XML. <XSC:XSchema> seems a
reasonable name :-)
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