Xml – How to validate an XML file against a schema using Visual Studio 2005


Is it possible to validate an xml file against its associated schema using Visual Studio 2005 IDE?

I could only see options to create a schema based on the current file, or show the XSLT output

alt text

Best Solution

It's done automatically, errors appear as warnings in the "Error List" and are additionally underlined with the blue squiggle in the source file.

Not sure if there is another way to validate the file, but this will do for now.