I am wondering does VS 2010 have something that I can use to compare an xml document to my schema? I tried a few online tools but my xml document seems to big and my browser just crashes.
XML documents are validated by the Create method of the XmlReader class. To validate an XML document, construct an XmlReaderSettings object that contains an XML schema definition language (XSD) schema with which to validate the XML document.
You can validate your XML with a grammar (XSD, DTD).
Visual Studio provides design time validation and intellisense for XML. When you open an XML file you have to option of associating one of more schemas (from the properties window), which can be used to validate the file. See the documentation on the XML Editor in Visual Studio. While this article applies to Visual Studio 2005, it provides a graphical view of the capabilites that are present in 2005 and onwards.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With