[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Which elements can be root elements?
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" "DTD/xhtml1-strict.dtd"> <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. Anm *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|