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 the specificat

[ Lists Home | Date Index | Thread Index ]

Thomas B. Passin wrote:

> 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.

I remember this was confusing for me in my first attempts with W3C XML 
Schema. My initial impression was that such a spec would allow me to 
define all my types us global components, while giving me the ability to 
explicitly choose which ones can possibly play the role of the 




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

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