|
-
Aug 7th, 2008, 02:07 PM
#1
Thread Starter
Frenzied Member
How to deserialize XML into object?
After retrieving an XML document from the web, I need to some how get the information into a custom class that has already been defined. I'm currently using .NET 2.0 and the Xml namespace to iterate through the nodes and manually populate the class. However, I was hoping there is a more efficient way using searlization/deserialization. I know you can create custom serializers. Is this what I would have to do? The name of the XML document are known, but they do not necessarily match one to one with the class member names.
Can I create a custom serializer that would automatically desearlize the XML document into a particular class?
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
|