How to simple parse xml in c#
Posted
by dzajdol
on Stack Overflow
See other posts from Stack Overflow
or by dzajdol
Published on 2010-04-13T13:06:54Z
Indexed on
2010/04/13
13:12 UTC
Read the original article
Hit count: 416
I want parse a SOAP xml response in C# (but I can't use standard SOAP interface, because wsld is incorrect).
When I parsing I want to have all elements with name (list element with name) and access to all its children.
The overall appearance of the XML:
<return>
<item>
<attr1>1</attr1>
<attr2>X</attr2>
</item>
<item>
<attr1>2</attr1>
<attr2>Y</attr2>
</item>
...
</return>
Regards
© Stack Overflow or respective owner