Hi,
I am preparing an xsd to validate input xml to a tool. Now I need only some of the elements to be validated against xsd and some to be skipped. For example i have below xml to be validated
Now i want my xsd to validate until Input element and to skip Order and its children(in bold above).
I tried googling and found something called xs:any element which can be used with processContents="skip"
I tried using it in below way in my xsd
But when i run my
java class that validates above xml with my xsd, it shows
Any suggestions on this will be helpful.
Regards
Kranthi