title: Convert GWT xml.client.Document to XML string
body: <p>I have a <code>com.google.gwt.xml.client.Document</code> object I used <code>XMLParser.parse(...)</code> 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.</p>
  
  <p>Any help is appreciated, thanks.</p>
  
  <p>-tjw</p>