what is the equivalent of parseXML for Mozilla
var newMenuRoot = parseXML(printNode(document.getElementById('NewMen u')), contextMenu);
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.