I should know how to do this, but if someone could point me in the right direction, I would appreciate it very much.

I want to aggregate several pipelines using cinclude. I would like to change one of those pipelines based on user request. For example:

<map:match pattern="*">
  <map:generate src="aggregate.xml"/>
  <map:transform src="style.xsl"/>
  <map:serialize/>
</map:match>

For this matcher, aggregate.xml consists of:

<page xmlns:cinclude="http://apache.org/cocoon/include/1.0";>
  <cinclude:include src="cocoon:/foo"/>
  <cinclude:include src="cocoon:/news1"/>
  <cinclude:include src="cocoon:/news2"/>
</page>

So, how can I pass the RequestURI to aggregate.xml so that "foo" is replaced by the requested URI? Or is there some other way of doing it?

Thanks.

Joe

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

Reply via email to