I have this code in JRE1.6 and I want to use it in android but I'm stuck with that.\[code\] OutputFormat format = new OutputFormat(dom); format.setIndenting(true); XMLSerializer serializer = new XMLSerializer(toWrite, format); serializer.serialize(dom);\[/code\]
- toWrite is a FileOutputStream