Wednesday, September 3, 2014

Xsd2Code++

...is a tool for taking an XSD and automatically generating C# code to sanity check XML against the XSD and to serialize XML to and from a C# object of a shape consistent with the XSD. Subtle points such as whether or not a collection should end up as an array or a list on the C# side are customizable in Xsd2Code++ code too.

Addendum 11/18/2014:The classes Xsd2Code++ makes in C# are partial classes in the name of extensibility. As suggested above, there will be methods in the generated classes for deseralizing from and serializing to the type at hand.

No comments:

Post a Comment