OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Define a root in a DTD

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

<!DOCTYPE foo [
<!ELEMENT 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.