|
-
February 19th, 2007, 06:57 AM
#1
[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?
-
February 19th, 2007, 08:44 AM
#2
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?
-
February 19th, 2007, 08:53 AM
#3
Re: xml to C# class, deserialize to create a class
Wow yes that is what I'm looking for.
Thanks poochi.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|