Android Question XML reading especific Nodes

Julio Ochoa

Licensed User
Longtime User

I need to manage XML files for read or write nodes in accordance with some logics in my app... I saw XmlSax but with this library I only can parse the document in one event when is reading all file... I need a library for read some nodes applying some filters and after that I will process the result (list of nodes). I have to access some nodes in some places inside the xml files and in other moment in the app I will access other especific node, etc....

This libray exist? or I have to make a library?


Licensed User
Longtime User
It would probably be more efficient to parse the file in one go, if you don't want all of the data you can just store what you're interested in in a format that's easier to access while the app is running.
Upvote 0