cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Larson" <Tdlar...@ci.canton.oh.us>
Subject RE: Source aggregation by XInclude
Date Wed, 18 Dec 2002 13:48:05 GMT
You coulde try the caching version of the cinclude transformer in place of the non-caching
xinclude transformer.
See http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html
The only problem I see is that the cinclude transformer does not seem to have the xpath features
that the xinclude transformer has.

Tim

>>> durdina@asset.sk 12/18/02 07:16AM >>>
>Thank you,
>but now my xsp pages get recompiled to Java every time. Probably it is the
>issue of xinclude. 
>Can anyone help me how to tell cocoon not to recompile some_page.xsp every
>time I acces the page?
>Does it exist any explicit mechanism how to cache the output of the
>pipeline?
>
>I am using this xsp preprocesing pipeline:
>  <map:match pattern="some_page.xsp">
>    <map:generate src="some_file.xml"/>
>    <map:transform type="xinclude"/>
>    <map:serialize type="xml"/>
>  </map:match>
>
>  <map:match pattern="some_page.html">
>    <map:generate src="cocoon:/some_page.xsp" type="serverpages"/>
>    <map:transform src="some_other_stylesheet.xsl"/>
>    <map:serialize type="xml"/>
>  </map:match>
>
>Cocoon 2.0.3.
>
>Thanks for help.
>Michal



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

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


Mime
View raw message