A PURE JS W3C Standard based DOMParser and XMLSerializer (XML DOM Level2 CORE).