cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject Re: Cocoon caching with multiple pipelines
Date Wed, 27 Apr 2011 09:54:07 GMT
On Wed, 2011-04-27 at 09:41 +0100, Robin Taylor wrote:
> Hi Thorsten,
> Thanks again and apologies for drip-feeding the questions.
> In the code I'm looking at it appears the second pipeline has an empty
> map:generate ie. <map:generate/>. I assume this results in the second
> pipeline using the output from the first pipeline.

no, a  <map:generate/> means cocoon uses the default generator
configured for this sitemap. 

If is does not uses a src is most likely a "special" generator such as

Using that as an example:
<map:generators default="request">
 <!-- This will turn on attribute generation on by default -->
 <map:generator name="request" src="org.apache.cocoon.generation.RequestGenerator">

    <map:parameter name="generate-attributes" value="true"/>
<!-- This will turn on attribute generation for this invocation only.
<map:match pattern="request">

As you see the <map:generate/> would here generate a xml representation
of the request and not use a former match/pipeline as input.

Thorsten Scherler <>
codeBusters S.L. - web based systems
<consulting, training and solutions>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message