Need to parse the XML data Windows store app C#
C#
2
Posts
2
Posters
0
Views
1
Watching
-
My XML data :
<xml>
<item>
<locationId>1</locationId>
<state></state>
<location>ABCD</location>
</item>
<item>
<locationId>2</locationId>
<state></state>
<location>EFGH</location>
</item>
</xml>I need to parse this and retrieve the value of "locationId" and "location" alone. Thanks in Advance.
-
My XML data :
<xml>
<item>
<locationId>1</locationId>
<state></state>
<location>ABCD</location>
</item>
<item>
<locationId>2</locationId>
<state></state>
<location>EFGH</location>
</item>
</xml>I need to parse this and retrieve the value of "locationId" and "location" alone. Thanks in Advance.
See the
System.Xml
namespace.