cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Davignon <andre.davig...@free.fr>
Subject Re: XIncludeTransformer and href attribute
Date Fri, 19 Sep 2008 08:03:20 GMT
Hi,
> Hello,
>
> I am playing with XIncludeTransformer, and I am trying something like
>
> <xi:include href="cocoon://myproject/include.xml"/>
>
> But it is not working. So, what can I put in "href" attribute?
>   

You have to put the xinclude transform in your pipeline :

<map:transform type="xinclude" />

And declare the class for the xinclude transformer in your sitemap :

<map:transformer name="xinclude" 
src="org.apache.cocoon.transformation.XIncludeTransformer" 
logger="sitemap.transformer.xinclude" pool-grow="2" pool-max="16" 
pool-min="2"/>

André





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


Mime
View raw message