Help me to load xml file
-
Dear Programmers, I am facing a problem in the loading of a xml file in ASP.NET 2.0. One thing else that the file is on a remote location. It is displayed in Internet Explorer but when the page load is show a message to press yes. If I don't press yes button then it will not show me the remote file otherwise it show me. How can I remove that message and secondly the file is not loading in FireFox. For FireFox i am using the following code: if (document.implementation && document.implementation.createDocument) { xmlDoc=document.implementation.createDocument("","",null); xmlDoc.async="false"; xmlDoc.load(xmlFile); xmlDoc.onload=xmlFile; } It show me the following error in firefox: "Error: uncaught exception: Permission denied to call method XMLDocument.load" What shall i do. Please help me in this regard. Thankyou to all those who give a reply.
-
Dear Programmers, I am facing a problem in the loading of a xml file in ASP.NET 2.0. One thing else that the file is on a remote location. It is displayed in Internet Explorer but when the page load is show a message to press yes. If I don't press yes button then it will not show me the remote file otherwise it show me. How can I remove that message and secondly the file is not loading in FireFox. For FireFox i am using the following code: if (document.implementation && document.implementation.createDocument) { xmlDoc=document.implementation.createDocument("","",null); xmlDoc.async="false"; xmlDoc.load(xmlFile); xmlDoc.onload=xmlFile; } It show me the following error in firefox: "Error: uncaught exception: Permission denied to call method XMLDocument.load" What shall i do. Please help me in this regard. Thankyou to all those who give a reply.
Check this URL might be helpfull http://forums.asp.net/t/1155866.aspx[^]
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
Check this URL might be helpfull http://forums.asp.net/t/1155866.aspx[^]
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
Thanks for replying me sundeep. The code has still a problem. It is still giving me the following error: "Permission Denied to call Method XMLDocument.load" Can you please help me in this regard. Thanks Note: I am trying to open xml file in Mozilla FireFox. Waiting for your reply