Reputation: 15018
I have a com.google.gwt.xml.client.Document
object I used XMLParser.parse(...)
to create. I would like to serialize it back to the XML string from which it was derived. What is the easiest way to do this? I don't see a straightforward way from reading the Javadocs on this and related classes.
Any help is appreciated, thanks.
-tjw
Upvotes: 3
Views: 2071
Reputation: 3984
If you're fine with going for an external lib, XStream is the best bet. Have a look at this two-minute tutorial
Upvotes: -1