RE: [xsl] Saxon Transformation

Subject: RE: [xsl] Saxon Transformation
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 5 Mar 2007 09:19:39 -0000
> 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

As far as Saxon is concerned, they are identical. One may give slighly
faster Java loading than the other, but in a transformation of any size the
difference will be irrelevant. If you're at all concerned about the
performance of the transformation, you shouldn't be using the command line
at all, you should be using the Java API, or some other mechanism (e.g.
Kernow, Ant) that keeps the Java VM loaded.

Michael Kay
http://www.saxonica.com/

Current Thread