I have created classes from several xsd files. These files create about 150
classes and spot checking them they do represent types in the xsd files. the
question is how do I use these files. How do I load data into them and create
xml from them. Is there some articles about this subject.
Thank you,
Hi Jerry,
As for the classes you've generated, are they normal classes or dataset
classes? As for the normal classes you generated through xsd.exe, you can
use XML serialization to convert those class instances into XML content or
deserialize the XML content back into object instances.
The class used to perform XML serialization in .NET framework is
XmlSerializer class. You can look for more info about XML serialization in
the following reference:
#XML Serialization in the .NET Framework
http://msdn2.microsoft.com/en-us/library/ms950721.aspx
#Introducing XML Serialization
http://msdn2.microsoft.com/en-us/library/182eeyhh(VS.71).aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?SmVycnkgQw==?= <jerryed@nospam.nospam>
>Subject: Using the classes created with xsd.exe
>Date: Thu, 21 Feb 2008 15:04:00 -0800
>I have created classes from several xsd files. These files create about 150
>classes and spot checking them they do represent types in the xsd files. the
>question is how do I use these files. How do I load data into them and create
>xml from them. Is there some articles about this subject.
>
>Thank you,
Jerry C - 26 Feb 2008 10:11 GMT
Steven,
Thank you for your reply the sites helped a lot. I also found this site that
helped.
http://www.codeproject.com/KB/XML/Serialization.aspx?display=Print
Thank you

Signature
Jerry
> Hi Jerry,
>
[quoted text clipped - 35 lines]
> >
> >Thank you,