first_page

XSD.EXE Notes

  • Oftentimes XSD.EXE will generate an array when you expect a class. It seems that one way to stop this from happening is to specify complexType mixed="true" for the element that gets turned into an array. These arrays happen when the element in question contains only one child element and no attributes.
  • Version XSD.EXE for .NET 2.0 will generate nullable types when nillable="true" is used just right.

XSD.EXE Links

“[Xsd.exe Workarounds for Complex Documents](http://www.fawcette.com/xmlmag/2002_07/online/webservices_rjennings_07_29_02/)” Kinda old.
“[CodeXS—An XSD to .NET language code class generator that adds real punch to Microsoft’s XSD Tool](http://www.bw-a-tects.com/default.htm)” Haven’t tried it.
“[XsdTidy beautifies the Xsd.exe output *with full DocBook .NET Wrapper*](http://www.codeproject.com/csharp/xsdtidy.asp)” Might be out of date with respect to .NET 2.0.

rasx()