Monday 30 March 2009

Generating XSD from and XML file

If you want to generate an XML schema (*.xsd) file from an existing XML file you can use the xsd.exe tool.

Go to your Visual Studio command line and type in the following:

xsd.exe C:\file.xml /outputdir:C:\

Done!

No comments: