Conditions in XSD for validating xml



Does xml need to be strictly validated against xsd? How to validate condition based xml in xsd?


I have a scenario where I need to validate a condition. After doing some research I found that xsd 1.0 won't do condition based verification.


example: based on an attribute 'Y' or 'N', I have to display different elements.


Please provide any suggestions.


No comments:

Post a Comment