I have an XML file as follows: Just a sample file
The tag <Contact> can come any times in <Contacts>. i.e. User sends number of contact information. So we are not sure how many people information the client sends us. So, my requiremtn is:
Atleast 1 Contact tag <Type> data should be as 'B'. If user send, 10 Contact Info without Type B, we should not accept it.
If user sends 10 Contact with 1 Type B, then thats fine.
So, I need to check this condition at XSD itself. Contact Type is of string type. How can i Check this condition at
View Complete Post