| Author |
specify root for xsd validation
|
Jan Nowakowski
Greenhorn
Joined: Jun 07, 2010
Posts: 1
|
|
Hi,
I have a xsd file which allows multiple elements to be the root element of a correct xml, i.e.
Is it possible to validate an xml file against this schema but also tell the validator that the root of the xml file should be "a" but not "b" ?
Something like
so that an xml like:
would fail the validation but
would pass
|
 |
 |
|
|
subject: specify root for xsd validation
|
|
|