This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

specify root for xsd validation

 
Jan Nowakowski
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic