Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Saxon Transformation

From: Abel Braaksma <abel.online@--------->
To:
Date: 3/5/2007 8:25:00 AM
jeb501@xxxxxxxxxxxxxxx wrote:
Which of the below method is best to use, Comparing its speed of
processing, effectiveness etc.,

java net.sf.saxon.Transform -o MyFile.html MyFile.xml MyFile.xsl



java -jar saxon.jar MyFile.xml MyFile.xsl > MyFile.htm



regardsEugene

  

Hi Eugene,



This seems like a Saxon-specific inquiry to me, which is best asked on 
the saxon user list. The two methods are a little different, but the 
speed you gain by specifying the start class is negligible compared to 
the time required to compile your stylesheet. The difference between 
redirecting stdout and letting Saxon write to stdout for you is, imho, zero.



If you want to gain speed when running multiple transformations, your 
best bet is to use the Saxon Java API. You can reuse your compiled 
stylesheet which will save a significant amount of time for each 
transformation.



Cheers,
-- Abel


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent