xmlValid

This utility 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), but it's got all kinds of other uses, including checking .NET .config files. Enjoy.

Usage

Usage: xmlValid.exe [xmlFile] [/s:xsdFile] [/c]
xmlFile: The xml File to validate
/?: Show usage
/s: A Schema file to valid the Xml against
/c: Receive the xml document to process from the standard input
The xmlFile argument is not required in that case

Contact

Feel free to contact Chris Sells (csells@sellsbrothers.com) with comments or bug fixes. The official home of this utility is http://www.sellsbrothers.com/tools.

History

Copyright

Copyright (c) 2001-2004, Sells Brothers, Inc. All rights reserved. No warranties extended. Use at your own risk. You may use this code in your own projects without royalty. You may not redistribute this code in source form.