On 23.04.2008 18:49, James 7 wrote:

The xml is not written to file so I cannot simply include them as parts of
an aggregate, at least as far as I know.

You can, using the cocoon:/ pseudo protocol in map:aggregate causing a sub request in the same sitemap:

<map:match pattern="test">
 <map:aggregate element="site">
  <map:part src="cocoon:/book-{1}.xml"/>
  <map:part src="cocoon:/body-{1}.xml"/>
 </map:aggregate>
 <map:transform/>
 <map:serialize/>
</map:match>

<map:match pattern="book-*">
 <map:generate src="generator1"/>
 <map:serialize type="xml"/>
</map:match>

<map:match pattern="body-*">
 <map:generate src="generator2"/>
 <map:serialize type="xml"/>
</map:match>

This is documented at [1], section "Aggregating".

Joerg

[1] http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to