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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Can i specify more than one root element in thespecificati

[ Lists Home | Date Index | Thread Index ]

[James Fuller]
> xml defines that any xml document should have one root node, xml schema
> undoubtably follow this rule. so no you cant do this and it is not

Any one xml document can only have one root element, but an XML Schema
allows any global element to be the root of an instance document.  So Vinood
can write a schema to allow (a choice of) several root elements.


Tom P


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

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