XMLSerializer.js serializes a DOM subtree or DOM document into XML/XHTML