You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Brian Dupras <br...@centera.com> on 2000/03/16 21:07:38 UTC
Are Xalan compiled XSLT's thread-safe?
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