I am currently trying to search a local XML File to retrieve a certain attribute, my search key is also another attribute.
My XML is like this:
<JPPlatforms> <Platform PlatformTag="2980" PlatformNo="47280"> </Platform> <JPPlatforms> I want to search the 1000 or so lines for the PlatformNo 47280 and return the PlatformTag 2980.
How would I implement this in Java for Android? Should I use an XMLPullParser is there something more efficient to find and return one particular value in XML?
No comments:
Post a Comment