This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Are Xalan compiled XSLT's thread-safe?
- To: "XSL - Mulberry (E-mail)" <XSL-List at mulberrytech dot com>, "Xml-Apache (E-mail)" <general at xml dot apache dot org>
- Subject: Are Xalan compiled XSLT's thread-safe?
- From: Brian Dupras <briand at centera dot com>
- Date: Thu, 16 Mar 2000 13:07:38 -0700
- Reply-To: xsl-list at mulberrytech dot com
We have a system where we use XSLT to transform XML data into HTML live
during page requests. Typically, we have about 10 kinds of XSLT/XML
combinations (around 10 XSL documents). Each XML document is not
particularly big - less than 100 Elements each. Each XSLT has only 2 or 3
templates.
The question is, will compiling my XSLT's improve my overall speed of HTML
generation? Given that there's a new thread for each page request, I'm
afraid to simply use a Java "static" transform that was compiled at init.
But, is this really dangerous, or is the transform thread-safe once it's
compiled.
Brian Dupras
Centera Information Systems, Inc.
phone 303.381.4420 (direct)
phone 303.939.0200 (operator)
fax 303.939.0111
web http://www.centera.com
email briand@centera.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list