August 8, 2001 tools

.NET XML Checker and Validator

Aug 8, 2001

xmlValid is simple command line utility that will check an xml file for well-formedness and, optionally, will validate it against a supplied XML schema file (xsd). I built it to check that my site’s HTML files were well-formed (and therefore XHTML-compliance), but it’s got all kinds of other uses, including checking .NET .config files. Source is included. Enjoy.

Usage: xmlValid.exe xmlFile [xsdFile]

Note that this utility requires .NET beta 2 to be installed.