On 6/26/07, Norman Gray <norman(_at_)astro(_dot_)gla(_dot_)ac(_dot_)uk> 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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--