RE: [2.1] cinclude using a pipeline as a generator source

warrell Harries <[email protected]> Tue, 10 May 2016 13:12:25 +0100
Newsgroups gmane.text.xml.cocoon.user
Message-ID <[email protected]>
Cocoon 2.1 is a living legend!!!!!

-----Original Message-----
From: "Nico Verwer" <[email protected]>
Sent: ‎10/‎05/‎2016 09:35
To: "[email protected]" <[email protected]>
Subject: Re: [2.1] cinclude using a pipeline as a generator source

On 7-5-2016 15:10, Christopher Schultz wrote:

On 5/7/16 7:38 AM, warrell harries wrote: 
cocoon:// is understood as standard
Awesome. I was hoping it would be something simple like that.
You can use something like

    <map:generate src="cocoon://{normalize-path:{request:sitemapURIPrefix}../somewhere/else}/whatever.xml"/>

The RequestModule is standard, and the NormalizePathInputModule comes from this project.
Doing this will make you project "relocatable" relative to the sitemap root.
This works in Cocoon 2.1, which for me is still preferable over 2.2 or 3.

It is good to see that people are still using Cocoon (2.1)!

Best regards,
Nico