Generic XML parser in Silverlight 3.0

Posted by Ummar on Stack Overflow See other posts from Stack Overflow or by Ummar
Published on 2010-05-03T11:07:22Z Indexed on 2010/05/03 12:38 UTC
Read the original article Hit count: 231

Filed under:
|
|

Hi I am developing an application in Silverlight 3.0, I want to make a generic parser of XML in it, as on every call to webservice I am receiving a different XML, I want to make it generic so that I receive an XML in native datastructure of C#? Please help me out? like I am getting XML like this one time

<test>
 <node1></node1>
 <node2></node2>
</test>

and other time

<mytest>
 <application name="XYZ">My Application</application>
 <application name="ABC">My Application</application>
</mytest>

I want the generic parser, e.g. it makes some tree structure of whole XML

© Stack Overflow or respective owner

Related posts about silverlight-3.0

Related posts about Xml