Hi Bruche,
I'm using a very simple caching mechanism - file there - no need to generate it
anymore. Compilation of out templates with about 350 lines of code against xml
files with about 800 lines takes 3-5 secs. Parsetime didn't increase with more
lines of template code or XML - seems to be general time it takes to fire up
saxon.
If you want high performance think about PHP5's internal XSL parser which is
really fast. Yes - there is a drawback - it only understands XSLT 1.0 Templates
:(
Best regards,
Clemens Prerovsky
-----Ursprüngliche Nachricht-----
Von: Bruce D'Arcus [mailto:bdarcus(_at_)gmail(_dot_)com]
Gesendet: Donnerstag, 23. Juni 2005 16:23
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: Re: AW: [xsl] java xslt (saxon) + php?
On Jun 23, 2005, at 10:17 AM, Prerovsky, Clemens wrote:
I'm currently working on a PHP5 project which incorporates Saxon-B 8.0
as it's XSLT 2.0 processor. shell_exec works fine for me - I just had
to redirect stderr to stdout to be able to catch the error messages
with PHP. You will also have to use an absolute path for your calls to
Saxon to avoid classpath (or "whatever"-path :) issues.
Thanks. Yeah, he has it working. But if you do that, what about JVM startup,
caching, etc.? We were just concerned about performance in other words.
Bruce
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--