I have a bunch of code
var xmlDoc = new ActiveXObject("MSXML2.DOMDocument.3.0");
xmlDoc.async=false;
xmlDoc.loadXML(sHTTP);
var rootElement = new String(xmlDoc.documentElement.Name);
Response.Write(rootElement);
The problem is that when I try to display the rootElement Node Name, it appears as 'undefined' on my browser. I also tried xmlDoc.documentElement.NodeName.
Any help will be greatly appreciated.
Thanks