[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Suggestions to use Transformer concurrently

Subject: RE: Suggestions to use Transformer concurrently
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 11 Sep 2001 14:47:51 +0100
how to use transformer
> Would anyone suggest how to use Transformer concurrently?
> I have read a O'Reilly and it suggests that one should use
> Template class to
> hold the xslt and then create a new instance of Transformer
> to every client.

Yes, that's what you should do. Compile the stylesheet once into a Templates
object, then use it to create a new Transformer for each transformation, in
a different thread if you want. In principle you can reuse the Transformer
once a transformation is finished, but I wouldn't recommend it. You are
certainly NOT allowed to run several transform() methods in different
threads using the same Transformer object.

Mike Kay


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.