cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wojciech Gdela <elteh...@poczta.onet.pl>
Subject Re: xsl:includes within includes stylesheets...
Date Mon, 21 Feb 2005 19:16:31 GMT
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>

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

-- 
Pozdrawiam,
Wojciech Gdela.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message