xml Validation against xsd

with

New Member
Here is my XSD \[code\]<xs:element name="root"> <xs:complexType> <xs:sequence> <xs:element type="xs:byte" name="node1"/> <xs:element type="xs:int" name="node2"/> <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/> </xs:sequence> </xs:complexType></xs:element>\[/code\]and XML is\[code\]<root> <node1/> <node2/> <unknown/></root>\[/code\]I am trying to validate my xml using xsd. i don't know about the third element details, it may present or not, I want to skip the validation for that element so i tried to using processContens="skip". but still i am getting invalid xml. please guide me if i am wrong
 
Back
Top