One other point on this. We are already caching the transformer, so we're looking for an additional way to optimize it.
 
Thanks,
 
Cory
-----Original Message-----
From: Cory Isaacson [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 28, 2002 12:11 PM
To: xalan-dev@xml. apache. org
Subject: Resuing a DTM

I have a situation with the following:
 
A non-changing XML document
A non-changing XSLT doc
Changing XSLT parameters
 
We need to perform multiple repeated transformations based on the variable parameters (which cause different sections of the XML to be processed/filtered based on the values). It takes a lot of memory for each run right now (300K), as the DTM is being recreated each time. Is there any way I can cache and re-use this, so that its not rebuilding it?
 
We have some JSP pages which might call the XSLT 3 or 4 times, so this is much too large, but with so much of our source being static, I am interested in any possible optimizations.
 
Thanks,
 
Cory
 
Cory Isaacson
President & CTO
Compuflex International
(818) 884-1168
[EMAIL PROTECTED]
www.compuflex.com
 

Reply via email to