This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]