Wednesday, June 15, 2005

XSD.exe -- A cool tool in .NET SDK

While working on XML-driven applications I often used to dislike writing DTD or Schema files..The syntax was cryptic and difficult to remember.

In the .NET SDK, there is a cool tool called XSD.exe that can take a sample XML file and automatically generate a schema-definition file for it.
The following command generates an XML schema from myFile.xml and saves it to the specified
directory.

xsd myFile.xml /outputdir:myOutputDir

1 comment:

  1. Hi Naren,
    Have you used any code coverage tool for .NET ? Do you know of a good Code coverage tool for .NET?

    Is Clover.NEt good?

    ReplyDelete