cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@apache.org>
Subject Re: xsl:includes within includes stylesheets...
Date Tue, 22 Feb 2005 14:49:00 GMT
Bringing over from cocoon-users:

Wojciech Gdela wrote:
> Hello,
> 
>> If you have a stylesheet that uses xsl:include to add extra templates to
>> the stylesheet and in turn the included stylesheet also includes another
>> stylesheet, Cocoon is no longer aware of changes to the stylesheet at
>> the bottom of the 'stack'.
> 
> 
> Set check-includes attribute to true in root sitemap, it should work:
> 
>     <map:transformer logger="sitemap.transformer.xslt" name="xslt" 
> pool-grow="2" pool-max="32" pool-min="8" 
> src="org.apache.cocoon.transformation.TraxTransformer">
>       <use-request-parameters>false</use-request-parameters>
>       <use-session-parameters>false</use-session-parameters>
>       <use-cookie-parameters>false</use-cookie-parameters>
>       <xslt-processor-role>xalan</xslt-processor-role>
>       <check-includes>true</check-includes>
>     </map:transformer>
> 
Maybe we should make it default and have a note in documentation to 
disable it for production sites?

> It does not work only when you use cocoon: protocol in you xsl:include 
> href attribute. See:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=33603
> 


-- 
Leszek Gawron                                                 MobileBox
lgawron@apache.org                              http://www.mobilebox.pl

Mime
View raw message