aspose file tools*
The moose likes XML and Related Technologies and the fly likes XML Schema assert Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML Schema assert" Watch "XML Schema assert" New topic
Author

XML Schema assert

druva singh
Greenhorn

Joined: Feb 13, 2009
Posts: 3
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!!
 
jQuery in Action, 2nd edition
 
subject: XML Schema assert