cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Johnston" <coc...@lojjic.net>
Subject Re: Sitemap brace escaping
Date Thu, 27 Apr 2006 15:35:03 GMT
> Hi,
>
> I have a little problem.
>
> I want to set a parameter in the sitemap whose value contains braces:
>
> <map:parameter name="myparameter" value="{inside brackets}"/>
>
> How can I escape these braces withouth being interpreted as a variable
> reference?
>
> I have looked at the wiki
> (http://wiki.apache.org/cocoon/SitemapVariableSubstitution) and the
> documentation with no luck.
> I promise to update the wiki with any helpful answer.


I believe backslash is used as escape character:
<map:parameter name="myparameter" value="\{inside brackets\}"/>

But I haven't tried it so I'm not 100% sure of that.


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


Mime
View raw message