cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Winnall <st...@winnall.ch>
Subject Re: accessing uri-prefix from within a sub-sitemap
Date Thu, 25 Jan 2007 16:59:24 GMT
Thanks Nico, that's great.

Steve

On 25 Jan 2007, at 16:37, Nico Verwer wrote:

> Stephen Winnall wrote:
>
> I'd like to reuse a sub-sitemap for a number of different uri-
> prefixes. I can set this up in the main sitemap as follows:
>
>         <map:match pattern="^(company|consulting|translation|research|
> support)(.*)$" type="regexp">
>                 <map:mount check-reload="yes" src="design/area/ 
> sitemap.xmap" uri-
> prefix="{1}" />
>         </map:match>
>
> Is there a way in the sub-sitemap (design/area/sitemap.xmap) of
> accessing the uri-prefix that was used in its invocation?
>
> There is, via the request input module: {request:sitemapURIPrefix} .
>
> <winmail.dat>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


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


Mime
View raw message