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


Help: OASIS Mailing Lists Help | MarkMail Help



   Which elements can be root elements?

[ Lists Home | Date Index | Thread Index ]
  • From: Andrew n marshall <amarshal@zig.usc.edu>
  • To: xml-dev@lists.oasis-open.org
  • Date: Fri, 23 Jun 2000 09:49:49 -0700 (PDT)

I can't seem to determine how an XML DTD defines which elements can be
root elements.  For example:


<?xml version='1.0'?>
<!DOCTYPE a PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<a href="#">This link IS this document.</a>


The above seems perfectly legal according to the XML standard, yet
I don't think that was ever intended.  Am I missing something?

By the way, I came across this problem when trying to determine whether
the root DocBook entity should be 'set' or 'book', so it might actually
make sense to allow multiple possible root elements.


This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS