I have an XML code with code. I wrote an XSD to validate the XML. I have XML tags in them that do not need to be validated. Is there a way to test certain tags and skip others?
XML example:
<person>
<firstname>Name</firstname>
<lastname>Name</lastname>
<tag1>data</tag1>
<tag2>data</tag2>
<tag3>data</tag3>
</person>
I need to check only <firstname>and <lastname>and skip checking all the other elements.
user245995
source
share