[RESOLVED] xml to C# class, deserialize to create a class
Is there any way to create a Class hierarchy from an XML document?
I have an XML document and I want a C# Class representation of it.
I see you can create a definition file .xsd using a VS too xsd.exe. The contents of the resultant xsd file look good, is there any way to create a C# class to represent this definition?
Re: xml to C# class, deserialize to create a class
You can use xsd.exe tool to create .xsd file out of .xml, then use the .xsd to generate class files using the same xsd.exe tool (xsd.exe information ) in design time. Is this what you are looking for?
Re: xml to C# class, deserialize to create a class
Wow yes that is what I'm looking for.
Thanks poochi.