Hi 
I using Coocon 1.8.2 with Xalan2. I use
the XalanTransformer privided by Rick Knowles. I'am
not sure if it's the best way to do so, coz in the actual 
source distribution the patch is not included. 
Anyway i found a small bug in the class.
xsl:include doesn't work for relative pathes:

i changed the line
  s.setSystemId(sheetBase);   
in
  s.setSystemId("file:///"+inBase);

I'am not sure if this doesn't have undesired side efectts, coz
my knoewlage about xalan tends to sero. But it works :)

To avoid naming confilics i renamed the XalanTransformer 
to Xalan2Transformer.

If this is still the best way to use Xalan2 with cocoon 
maybe somebody can commit this class to the CVS.

Thanx Thorsten
 <<Xalan2Transformer.java>> 

Xalan2Transformer.java

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to