Parsing XML Content

 
/* Jscript: Parse XML Document */


var oXmlDoc = new ActiveXObject("Microsoft.XMLDOM"); //Create an XML document that you can parse.
oXmlDoc.async = false;
oXmlDoc.loadXML(resultSet); //Load the XML document that has the UnEncoded results.
var results = oXmlDoc.getElementsByTagName('result'); //get the specified node by DOM function
var currency = oXmlDoc.selectNodes("//businessinterest")[1].text; //gets the no of nodes with function