Results 1 to 2 of 2

Thread: How to deserialize XML into object?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    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?

    Visual Studio 2010

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: How to deserialize XML into object?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width