Zero-click design-time validation of XML in VS: the XmlValidate custom tool

Note: this entry has moved.

Have you ever wanted you could just save an XML file and have a custom tool tell you what's the output of its validation with a schema (or set of schemas) just as it would be at runtime using the XmlValidatingReader? Go ahead and download the Mvp.Xml.Design installer, and you can have that. Just assign to a file the custom tool "Mvp.Xml.XmlValidate" and set in the Custom Tool Namespace property a semi-colon separated list of schema files (either relative to the file location or with absolute path) and you're done. Everytime you modify the XML file and save it, the associated .txt file will tell you what the outcome of the validation is.

You can investigate other tools offered by the Mvp.Xml project ;)
Published 30 December 2004 05:55 PM by Daniel Cazzulino

Comments

No Comments

Search

Go

This Blog

News

     

      Microsoft MVP Profile

Syndication