have you looked at using a javax.xml.transform.Templates object to get multiple transformer instance
see javax.xml.transform.TransformerFactory.newTemplates -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2003 6:46 PM To: [EMAIL PROTECTED] Subject: Is there a concept of reusing a Transformer instance? I've encapsulated some code that essentially emulates the xalan-1 API, to minimize changes. There is a case where a reference to a class that wraps a Transformer instance is copied; but now these two StylesheetRoot (the wrapper) instances have references to the same Transformer reference. Is it possible to do repeated transformations with the same instance. If not, is there a concept of reset or clone? Thanks. Keith...
