[Home] [By Thread] [By Date] [Recent Entries]


[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



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member