Question

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

Was it helpful?

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.

OTHER TIPS

XmlSchemaValidator

Warning: It's not pretty to use.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top