What's the best way to parse a single string from a larger xml file in Android Studio?



Basically I am converting an excel spreadsheet that lists 8 things for each row (name, object, year, country, etc) to xml format. I want to pull data from a single row so that I can produce a resource layout file in Android Studio. I have already seen tutorials on how to use XmlPullParser with ListActivity to display a whole xml sheet in list form but I only need to pull one string from each category...How would I programmatically do this?


Tiada ulasan:

Catat Ulasan