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

Re: XSL-FO to PDF conversion speed

Subject: Re: XSL-FO to PDF conversion speed
From: "Tony Graham" <tgraham@xxxxxxxxxx>
Date: Mon, 30 Sep 2013 09:34:38 +0100 (IST)
Re:  XSL-FO to PDF conversion speed
On Mon, September 30, 2013 9:12 am, Jesper Tverskov wrote:
...
> Even split seconds gained ad up, but could there be other speed
> benefits from using an XSLT 2.0 Saxon processor compared to good old
> XALAN when we are talking about a batch job?

With an XSLT 2.0 processor such as Saxon, you may be able to modify your
stylesheet to use collection() [1] and, with Saxon, Saxon's extensions [2]
to read and process all the files in one go rather than firing up the JVM
for each.

Even using Ant may be quicker than, e.g., a batch file since by default
Ant will reuse the same 'stylesheet transformer' for every 'transform
operation'.

Regards,


Tony Graham                                   tgraham@xxxxxxxxxx
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL-FO and XSLT consulting, training and programming
       Chair, Print and Page Layout Community Group @ W3C

[1] http://www.w3.org/TR/xquery-operators/#func-collection
[2] http://www.saxonica.com/documentation/index.html#!sourcedocs/collections

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.