Possible Duplicate:
Android: How we can get the value from attribute from xml string
I have the following string. I want to be parse the attribute of outline
.
<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>
How I can parse attribute and take the value of text
and guide_id
.
Which parser I can use to do this?