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
Post a Comment