if (doc.importNode) { node = doc.importNode(node, true); } 
    write: function(node) {        var data;        if(this.xmldom) {            data = node.xml;        } else {            var serializer = new XMLSerializer();            if (node.nodeType == 1) {                // Add nodes to a document before serializing. Everything else                // is serialized as is. This may need more work. See #1218 .                var doc = document.implementation.createDocument("", "", null);                doc.appendChild(node);                data = serializer.serializeToString(doc);            } else {                data = serializer.serializeToString(node);            }        }        return data;    },
2032	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2032/3751402ff8768cea0184d851d039450eed4f63db/XML.js/buggy/lib/OpenLayers/Format/XML.js