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

Re: XTDE1490 and using the Saxon transformer multiple

Subject: Re: XTDE1490 and using the Saxon transformer multiple times
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 26 Jun 2007 21:27:09 +0100
Re:  XTDE1490 and using the Saxon transformer multiple
On 6/26/07, Norman Gray <norman@xxxxxxxxxxxxxxx> wrote:
I want to transform a largeish number of XML instances (a few
thousand) at a time, and so want to avoid repeatedly recompiling the
XSLT script.  I suppose an alternative would be to create a Template,
and repeatedly create a Transformer from that.  That would be quite
cheap, yes?


I've just uploaded a new version of Kernow (in beta so please report
any issues) - in this latest version directory transforms are
multithreaded to take advantage of multicore processors.

http://kernowforsaxon.sourceforge.net/

For Norman: Kernow is a graphical front / high level API for Saxon
that takes care of things like compiling the stylesheet.  You can run
directory transforms either using the GUI or through its API, eg:

Kernow kernow = new Kernow();
kernow.runDirectoryTransform(inputDir, XSLT, outputDir);

That's the minimum, there are various other methods to set parameters
and configuration options.

cheers
andrew


-- http://andrewjwelch.com

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.