xsl-list
[Top] [All Lists]

Re: [xsl] Why are there no XSLT processors implemented in XSLT?

2012-05-02 03:41:04
On Tue, May 1, 2012 5:05 pm, Hermann Stamm-Wilbrandt wrote:
...
naxos sample execution:
$ time java com.icl.saxon.StyleSheet user.xml ../naxos.xsl
...
real  0m6.360s
user  0m11.512s
sys   0m0.157s

You will get less effect from the JVM startup time if you use '-9' to run
the transform multiple times:

$ time saxon-xslt user.xml ../naxos.xsl
...
real    0m13.283s
user    0m15.930s
sys     0m0.520s
$ time saxon-xslt -9 user.xml ../naxos.xsl
...
real    0m40.619s
user    0m44.580s
sys     0m0.590s
$

And Naxos is processor independent:

$ time xsltproc ../naxos.xsl user.xml
<html><head><title>Spam for Schmidt</title></head><body>
  <p>Dear Frau Schmidt,</p>
  <p>We would like to invite you,
    as a resident of Germany,
    to review our new software package.</p>
  <p>Thank you.</p>
  <p>Yours sincerely,</p>
</body></html>
real    0m7.639s
user    0m7.230s
sys     0m0.160s


Regards,


Tony Graham                                   tgraham(_at_)mentea(_dot_)net
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL-FO and XSLT consulting, training and programming


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

<Prev in Thread] Current Thread [Next in Thread>