I'm trying to deserialize an external xml into an object. I have no control whatsoever on this xml.
Here's an example:
<response>
<date>2012-05-23 00:00:00</date>
<users>
<userObject0>
<name>John</name>
<surname>Smith</surname>
</userObject0>
<userObject1>
<name>Jane</name>
<surname>Doe</surname>
</userObject1>
</users>
</response>
I have no idea why it is done this way, and I cannot figure out how I can deserialize that xml to get an array of userObject.
Is it even possible?
EDIT: Note that the project I'm working is in .net 2.0