Hi,
 
I would like to know if it's possible to manage an XSL Cache with Xalan and which is the best solution.
 
First, I wanted to keep in a HashMap all the XSL files content (to avoid to read it from the hard disk every time)
But with the <xsl:include ..> directive in the XSL files, Xalan Transformer can't find the included files because it searchs them in the variable "user.dir"... (a solution can be : copy the included files contents within the xsl file "mother" , before put it in the cache)
 
And now, I wonder if it's possible to keep a Transformer Object (associated with an XSL content) instead of the XSL File content.
 
I'm afraid about the consequences when a great number of threads will want to use the same Transformer to generate the HTML with different XML file.
 
Any idea would be welcome.
Thinks in advance,
Agnes

Reply via email to