Chapter 14. The Microsoft.XsdInference Namespace
Although the XML Schema
Definition tool, xsd.exe, that
ships with the .NET Framework is capable of inferring an XML Schema
from an instance of an XML document, Microsoft has provided an
additional assembly which contains a more advanced XSD inference
model.
Available for download from http://www.gotdotnet.com/team/xmltools/xsdinference/XSDInference.exe,
the XSD Inference Tool is comprised of an additional .NET assembly
that provides extended ability to infer an XML Schema definition from
an XML document instance, and a .NET executable that uses that
assembly to allow XML Schema inference from the command line.
The installer creates a directory named
C:\ProgramFiles\XSDInference
which contains the XSDInfer.dll assembly, the
Infer.exe executable, documentation, and source
code for both the assembly and the executable.