|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: tomcat web server and dynamic XSL
> Just curious, why do you cache the Template instead of the > Transformer? The Templates object holds the compiled stylesheet, which is reusable and thread-safe. The Transformer holds transient information used in the course of a transformation, such as the stack and the dynamic context: it is not thread-safe and there is usually no point in reusing it. Michael Kay > > Regards, > Daniel > > > -----Original Message----- > From: David.Pawson@xxxxxxxxxxx [mailto:David.Pawson@xxxxxxxxxxx] > Sent: Tuesday, 27 April, 2004 6:03 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: tomcat web server and dynamic XSL > > > Templates pss = tryCache(style); > Transformer transformer = pss.newTransformer(); > Properties details = pss.getOutputProperties();
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








