I have this app that's reading in an xml file into a document object. typically with code like this.
then i make changes to the some of the element attributes. But I'd like to save it. The snippets I've found on the net involve some of the following packages
none of which seem to be a part of android (at least according to eclipse)
my question is how do I save the contents of the document object back to a file then? I'd like to save only the changes I made but I don't mind if I overwrite the whole file. I was thinking I could output it to a string and just use the Working with Files tutorial to save that string back to the file, but I don't know how to do that either.
Any assistance is appreciated.