xsl-list
[Top] [All Lists]

RE: [xsl] Saxon Transformation

2007-03-05 02:20:00
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/


--~------------------------------------------------------------------
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>
--~--