Tuesday, 27 August 2013

parsing XML content - C#

parsing XML content - C#

I have not used XML for very long and need to extract the useful
information from an XML response. If there are 2 tags that are the same
but have a different name e.g
<lst name = "stack">
<str>Ola<\str>
<lst name = "overflow">
<str>Hello</str>
</lst>
</lst>
How would I extract the contents of the tag with name="overflow"?

No comments:

Post a Comment