Loading XDocument while validating against schema in .NET 3.5 -


In the form of an input string XML is and I have an XSD schema to verify against it.

I want to validate the Xml against XDD schema when loading in XDocument (since I need to be parsing with Linq later).

Does anyone have a small code snippet?

Load the document, and then use it, a XmlSchemaSet In order to represent those schemas that you want to validate against,

is one with a complete example and discussion.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -