Cannot parse XML generated by JSP
I am generating an XML using JSP, when i run the JSP in IE it shows the XML as per DOM, but when i try to parse it using Javascript , the command
xmldoc.documentElement returns null instead of the root node. How should i Parse this XML ?

if (!isIE)
xmldoc = req.responseXML;
else {
//IE does not take the responseXML as a dom document!!!!
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.async=false;
xmldoc.loadXML(req.responseText);
}

Advertiser Disclosure:
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.