rem: data = serializer.serializeToString(node); 
add: if (node.nodeType == 1) {   var doc = document.implementation.createDocument("", "", null); doc.appendChild(node); data = serializer.serializeToString(doc); } else { data = serializer.serializeToString(node); } 
context:     write: function(node) {        var data;        if(this.xmldom) {            data = node.xml;        } else {            var serializer = new XMLSerializer();            data = serializer.serializeToString(node);        }        return data;    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/d4ff6a4c8b7808de5786f97f58582ee72d7d19fa/XML.js/clean/lib/OpenLayers/Format/XML.js