Validate XML with a XSD Schema without changing the XML using C#

Posted by Coppermill on Stack Overflow See other posts from Stack Overflow or by Coppermill
Published on 2010-05-06T10:28:38Z Indexed on 2010/05/06 10:48 UTC
Read the original article Hit count: 404

Filed under:
|
|

I have an XML file without a Schema in the XML, and I need to validate the XML against a XSD schema. I have seen many examples where you inject the XSD in to the XML and then validate the XML. I don't want to change the XML, is it possible to validate the XML, against the schema without change the XML?

© Stack Overflow or respective owner

Related posts about xml-schema

Related posts about validation