Todd:
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");
xslDoc.async=false;
xslDoc.load(Server.mapPath(transformName));
xslTemplate.stylesheet=xslDoc;
xslProcessor=xslTemplate.createProcessor();
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
<N>
<D>11</D>
<D>22</D>
<D>123</D>
<D>USD</D>
<D>1000.000</D>
<D>0.064</D>
<D>40892.000</D>
<D>Baa1</D>
<D>BBB</D>
<D>BBB+</D>
<D>05523UAA8</D>
<D>106.719</D>
<D>-0.459</D>
<D>5.366</D>
<D>TSY10Y</D>
<D>101.580</D>
<D>1.148</D>
<D>88.427</D>
<D>1.305</D>
<D>93.881</D>
<D>0.922</D>
<D>86.036</D>
<D>1.183</D>
<D/>
</N>
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.
Thanks
Jack
_________________________________________________________________
Get holiday tips for festive fun.
http://special.msn.com/network/happyholidays.armx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list