[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] How to speed up parsing ??


Subject: RE: [xsl] How to speed up parsing ??
From: Dipesh Khakhkhar <dkhakhkh@xxxxxxxxxxxxxxx>
Date: Fri, 1 Aug 2003 10:15:56 -0400

Hi,

Thanks a lot Ashish for giving me possible solutions to increase the xml 
parsing.

I am write now using xslt processor of oracle 8.0
My friend has written a wrapper program to use that. I am using it from unix 
server like this.

java -ms25M -mx100M xslFileName xmlFileName > directingOutput.txt

I got one editor yesterday and tried to do xml processing using that.
I used COOKTOP and i was using MSXML as my XSLT engine. Using that i m able to 
process my xml file within a minute compared to what it is taking to do the 
same in several minutes.

Actuall i have to run process this xml using xsl and get some text output 
which will be feeded to other process. In this workflow i would like to call 
it passing parameters from some script and run it.

SO IT SEEMS THERE IS PROBLEM WITH THE ENGINE I M USING and NOT WITH FOR-EACH 
or APPLY-TEMPLATES CONSTRUCT bcos i guess in both the cases file pointer plays 
major role. SO TO CHANGE THE ENGINE AND TO HAVE SMOOTH WORKFLOW I NEED SOME 
ENINGE WHICH I CAN USE FROM COMMAND LINE WHICH WILL TAKE TWO FILES AS INPUT 
I.E. XSL FILE AND XML FILE AND PRODUCED OUTPUT.

To do this I downloaded source code of xalan. But not getting much idea from 
it how should i use it. Or if you know how to efficiently i can do the above 
thing pls inform me.

Further you said in your earlier email i can put the xml file in memory if i m 
running it repeatedly. HOW DO WE DO THAT ? WHAT DATA STRUCTURE WE HAVE TO USE 
TO DO THIS ?

Eagerly waiting for some suggestion. Appreciated.

Thanks once again !!

Regards,
Dipesh 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords