Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I want to validate an XML document against some XML scheme, but ignore all elements (and probably attributes) which are not of a given namespace.

Does such a XML scheme language exist?

share|improve this question
1  
Create a filter (for example, using XSLT) which removes every element from your XML doc which are not of the namespace your are interested in. Afterwards, validate the result. –  Doc Brown Aug 29 '14 at 10:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.