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]