Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Schema assert

 
druva singh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone used the xsd:assert feature while defining XML schema?
It is introduced in 1.1 version of W3C standards.
I have wriiten a xsd file with some constraints on elements - i.e. an element exists only if another exists [dependency]. Tried this with 'assert' but the tag is not getting recognized at all.

Any pointers and help would be appreciated.

Thanks!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic