[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Saxon Transformation

Subject: Re: Saxon Transformation
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Mon, 05 Mar 2007 09:22:31 +0100
Re:   Saxon Transformation
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.