Android Question XML reading especific Nodes

Julio Ochoa

Member
Licensed User
Hi,

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?
 

stevel05

Expert
Licensed 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.
 

stevel05

Expert
Licensed User
Nice One @warwound , I hadn't seen that. It will come in handy.
 
Top