Can anybody tell me how we can parse the following Xml. I get the following xml as response of HttpGet method. I can be store this xml in the string form.
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1">
<head>
<status>200</status>
</head>
<body>
<outline type="text" text="General" guide_id="f1" is_default="true"/>
<outline type="text" text="Rock Stations" guide_id="f2"/>
<outline type="text" text="Rock Stations" guide_id="f3"/>
<outline type="text" text="Rock" guide_id="f4"/>
<outline type="text" text="Awdhesh" guide_id="f5"/>
</body>
</opml>
I want to be parse the attribute of outline
. And I also want to show the value of text
in listview. Please provide me a sample code.
Thanks in Advance ...!!!