XSchema: root element

Michael Kay M.H.Kay at eng.icl.co.uk
Fri Jul 3 10:59:42 BST 1998


>Most DTDs have a number of useful potential roots and a
number of
>not-so-useful ones

I would certainly like to be able to declare in a DTD that
certain elements are valid roots and others are not.
Assuming there is technology to validate a document against
an XSchema, it moves one more validity check out of my
application and into the schema.

In the DTDs I have written, very few of the element types
(often just one) are valid roots, so my own choice of
default would be INVALID.

MIke Kay


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