Save XML items locally with Phonegap

Sefeteple

New Member
I have been building an Android application using Phonegap, which parses and shows an XML file. This works fine and all, but I want to add an extra function, so people can mark/save items from the XML file as favorites.How can I copy all content from within one XML-element (everything from \[code\]<item>\[/code\] to \[code\]</item>\[/code\]) to a local xml file? After that, I just have to parse the local xml file, and the user will be able to see al his favorited posts. That won't be a problem. What will be/is a problem though, is creating that XML and adding items. Not unimportant is a remove function as well.Or is there a way easier and smarter way than saving something locally?Maybe I completely missed a tutorial that explains this, then please point me towards it! Thank you so much!
 
Back
Top