***********************
Este correo ha sido procesado por el antivirus del Grupo FCC.
***********-***********
I'm using Cocoon version 2.1.2
Here is a snippet that doesn't work:
<map:act type="pon-idioma" name='i'/>
<map:match pattern="**/area">
<map:act type="area">
<map:redirect-to uri='/{#i:myvar}'/>
</map:act>
</map:match>
</map:act>
-----Mensaje original-----
De: Upayavira [mailto:[EMAIL PROTECTED]
Enviado el: mi�rcoles, 07 de abril de 2004 15:25
Para: [EMAIL PROTECTED]
Asunto: Re: Anchor in an action
Carmona Perez, David wrote:
>
>Hi all,
>
>I've read in the wiki,
>http://wiki.cocoondev.org/Wiki.jsp?page=SitemapVariableSubstitution, the following:
>
>
Ah, a useful link.
>you use the new anchor syntax. With sitemap variable anchors you name a specific
>level and refer to them directly by the specified name.
>
> ...
> <map:match pattern="images/*.gif" name="root">
> <map:act type="resource-exists">
> <map:parameter name="url" value="resources/images/{1}.gif">
> <!-- new level -->
> <map:read src="resources/images/{#root:1}.gif" mime-type="images/gif"/>
> </map:act>
> </map:match>
> ...
>
>It seems not to work. In my case I attach it to an action instead of a matcher.
>
>Any help will be appreciated.
>
>
What version of Cocoon are you using?
Support for 'name' is there in both action and match in the code, it seems.
Can you provide a sample of sitemap code that doesn't work?
Upayavira
---------------------------------------------------------------------
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]