[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: Mukul Gandhi <mukulw3@xxxxxxxxx> Date: Fri, 1 Aug 2003 08:17:07 -0700 (PDT) |
Hi Dipesh, You can also try XSLTC.. Its a Xalan-J module which allows you to convert the XSL file into Java classes. These Java classes are called translets. You can then apply these translets(Java classes) to XML files to produce final output. Please see http://xml.apache.org/xalan-j/xsltc_usage.html for details about XSLTC. It *may* enhance the performance of your transformations.. i don'nt know for sure about the performance difference XSLTC has over xalan.xslt.Process (the normal way of invoking XSL transformation from Xalan).. You may try it and report to us if it speeds up transformation. i would suggest , that please try both xalan.xslt.Process and XSLTC and observe the time difference.. If somebody has information about performance difference between XSLTC and usual Xalan transformation, i would also be eager to know it.. Regards, Mukul --- Dipesh Khakhkhar <dkhakhkh@xxxxxxxxxxxxxxx> wrote: > 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 > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to speed up parsing ?, Dipesh Khakhkhar | Thread | Re: [xsl] How to speed up parsing ?, Kevin Jones |
Re: AW: [xsl] '<' and '>' in the va, Américo Albuquerque | Date | [xsl] for-each, AROSO Jose Antonio |
Month |