Re: [xml-dev] Can i specify more than one root element in the
specification?
by Thomas B. Passin other posts by this author
Sep 23 2002 1:12PM messages near this date
RE: [xml-dev] Can i specify more than one root element in the specification?
|
RE: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial)
[James Fuller]
>
> xml defines that any xml document should have one root node, xml schema
will
> undoubtably follow this rule. so no you cant do this and it is not
allowed.
>
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.
Cheers,
Tom P
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
Thread:
Vinod Kharade
James Fuller
m batsis
Aaron Skonnard
Thomas B. Passin
|