javaScript xmldocument to String
new XMLSerializer().serializeToString(xmlObject.documentElement);
Plain Pollan
new XMLSerializer().serializeToString(xmlObject.documentElement);