[Home] [By Thread] [By Date] [Recent Entries]

  • From: David.L.Eiland@f...
  • To: xml-dev@l...
  • Date: Tue, 26 Jun 2001 13:34:42 -0500

At 17:31 26/06/2001 +0100, Peter Flynn wrote:
>The root element is always the one that
>does not appear in the content model of any other element
>type.

<!DOCTYPE foo [
<!ELEMENT foo (foo?)>
]>
<foo>
</foo>

:-)

Seriously though, any element in a DTD can be the root of a document.
Many DTDs have an element type that is typically the root but XML does
not enforce "rootness". Some DTDs make explicit use of this fact e.g.
Docbook.

Sean




------------------------------------------------------------------
The xml-dev list is sponsored by XML.org, an initiative of OASIS
<http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@l...



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member