I want to Parse an XML which has data differentiated on the basis of id (can say in tabular form) and to show it in Textviews (one id at a time) Can you help me in this regard?? Preferably in XML PullParser as it is recommended by android
I want XML values to put in Textviews one at a time based on their IDs
<myXmlStarts>
<Id>1</id>
<EnglishData>"this is 1st English line"</EnglishData>
<UrduData>"this is 1st Urdu line"</UrduData>
</myXmlStarts>
<myXmlStarts>
<Id>2</id>
<EnglishData>"this is 2nd English line"</EnglishData>
<UrduData>"this is 2nd Urdu line"</UrduData>
</myXmlStarts>
No comments:
Post a Comment