Hello All!
Is there any way to validate XML document agains schema, but at the same time ignore any attributes or elements that are not specified in schema?
Example:
<Customer>
<LastName></LastName>
<FirstName></FirstName>
<Age></Age>
<AnyNode/>
</Customer >
Assume that schema only define LastName, and FirstName. How can Age be ignored without knowing that it is Age?
How can AnyNode be ignored?
Thank you
Is there any way to validate XML document agains schema, but at the same time ignore any attributes or elements that are not specified in schema?
Example:
<Customer>
<LastName></LastName>
<FirstName></FirstName>
<Age></Age>
<AnyNode/>
</Customer >
Assume that schema only define LastName, and FirstName. How can Age be ignored without knowing that it is Age?
How can AnyNode be ignored?
Thank you