I am using the below code to read one xml file which is located locally. But its not displaying the object of xmldoc. My code is
function loadXMLDoc(XMLname) {
Better use Jquery function. Its working fine for me.