Hi Is it possible to include conditional validation in Schema.
For example: Sample1: (Valid) <root> <level type="skill"> <lesson/> </level> </root> Sample2: (Invalid) <root> <level type="section"> <lesson/> </level> </root> In the above sample, I want to ensure lesson element is available only when level's type is "skill". Is there any way to enforce this rule in XSD (Schema)? Thanks and Regards, Gnanaprakash Bodireddy This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful.
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general