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

From
Thomas B. Passin <>
To
Date
2002-09-23T13:12:10Z
ID
<003101c26302$d355dfa0$fe193044@tbp1>
Thread
Re: [xml-dev] Can i specify more than one root element in the specification?
[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