I think you are stuck doing it the hard way, node by node. Use the
GWT XMLParser createDocument(), then traverse the javascript
document, for each Node use the GWT Document's createElement(),
and use Node appendChild(), Element setAttribute(), etc.
You could also convert the javascript xml document to a string and have the
GWT XMLParser parse it.