Why does the above code not work in Mozilla. I want to load some XML document [External File] in the XML object. I need to do the parsing stuff. The above code works well for IE. I searched the net, I found that above is the way of getting it worked in Mozilla. But when when I write xmlDoc.load("somexmlfile"); & then I print xmlDoc.xml, I get undefined.