Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

conditional based validation

$
0
0
Hi,

Assume, i have following two fields 
IsFixed, Reason

IsFixed will have have enum value like "Y" or "N"

So if IsFixed  has "N" in the xml then "Reason" element should have value. If not then it can be empty.

How do i write xsd for this condition. Any help please

loving dotnet


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>