Loading large XML file into HTML format problem
JavaScript
1
Posts
1
Posters
0
Views
1
Watching
-
Hi All, I am trying to load large XML file(222 MB) using javascript for HTML format. It is taking a lot of time. Can anyone suggest me to make it more efficient? Any sample is more appreciated. I am using something like below, var xmlDoc=null; if (window.ActiveXObject) //IE 8,9 { xmlDoc=new ActiveXObject("Microsoft.XMLDOM"); } else if (document.implementation.createDocument) { xmlDoc=document.implementation.createDocument ("","",null); } else { alert('Your browser cannot handle this script'); } if (xmlDoc!=null) { xmlDoc.async=false; xmlDoc.load('Load.xml'); // Large xml file }