RE: [xsl] Too slow to process XML file over 1MB

Subject: RE: [xsl] Too slow to process XML file over 1MB
From: "Jack Yang" <yukui@xxxxxxxxxxx>
Date: Mon, 08 Dec 2003 09:59:41 -0500

Thank you very much for your help.  The approach I used was very close
to what you suggested.  I used the XSLTemplate and XSLProcessor to cache
the XML file.  The problem is that it will take hours to load XML
initially.  The following is a snippet of my code

var xslDoc=new ActiveXObject("MSXML2.FreeThreadedDOMDocument");
var xslTemplate=new ActiveXObject("MSXML2.XSLTemplate");
Session(transformName)=xslProcessor;  //As you suggested, I used session
object to cache the processor

I just wonder how you can load a 25mb xml while I can't even load a
1.1mb xml. What is wrong with my stupid xml file?
The typical node in my xml file is like this

My xml file has over 3000 such nodes. I am using less meaningful names
such as N or D to cut the XML file size.   However the web browser just
can't load it.  What is wrong here?  I am so desperate here.



Get holiday tips for festive fun.

XSL-List info and archive:

Current Thread