what is the equivalent of parseXML for Mozilla
Hi. I am parsing XML in javascript and it works fine in IE but not in Mizilla. The code I am using is
var newMenuRoot = parseXML(printNode(document.getElementById('NewMen u')), contextMenu);
contextMenu.replaceChild(newMenuRoot, contextMenu.firstChild);
The question is what is the equivalent in Mozilla. I am using SVG, just in case. Any help would be apreciated. Thanks in advance. Greetings.
|