W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2004

Re: determine root element in the xml from schema

From: Dave Peterson <davep@iit.edu>
Date: Sun, 18 Apr 2004 18:53:09 -0400
Message-Id: <a05210607bca8b5d38fed@[]>
To: xmlschema-dev@w3.org

Noah Mendelsohn said:
>I'd like to add one other thing to this discussion:

So would I.

It should be noted that a Document Type Definition (AKA "DTD") also
does not specify what element type should be the root.  That is left
to the Document Type Declaration in the document, which specifies
the root element type and the DTD.  (The DTD is the collection of
declarations found jointly between square brackets in the Doctype
Declaration and in resources pointed to by the PUBLIC and/or SYSTEM
Indentifier preceding said square brackets.)

I trust no one is surprised that Schema works like DTDs in this
Dave Peterson

Received on Sunday, 18 April 2004 18:54:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:05 UTC