Thanks Bertrand,
I am trying to use the suggestion. It doesn't work for now, but I will
try it again and check again my sitemap.xmap configuration.
I will have to look deeper into the Apache Cocoon documentation which I
never did.
Thanks again for your time.
On Tue, 2006-07-11 at 10:52 +0200, Bertrand Delacretaz wrote:
> Hi, On 7/11/06, Yves Zoundi <[EMAIL PROTECTED]> wrote:
>
> > ...What I suspect is that Cocoon is caching everything from the instruction
> > map:act :
> > <map:pipeline>
> > <map:act type = "locale">
> > <map:match pattern = "index.xml"/>
> > <map:generate src = "index.xsl"/>
> > <map:transform type = "i18n">
> > <map:parameter name = "locale" value = "{../locale}"/>
> > </map:transform>
> > </map:act>
> > </map:pipeline>...
>
> Whithout having studied your problem in detail, a workaround that
> comes to mind is to use a secondary pipeline where the locale is
> explicit in the URL:
>
> <map:match pattern="with-locale-*/**">
> ...use {1} as the locale here, this should get cached properly
> </map:match>
>
> <map:match pattern="**">
> <map:act type="locale">
> <map:generate src="cocoon:/with-locale-{locale}/{../1}"/>
> </map:act>
> </map:match>
>
> HTH,
> -Bertrand
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]