Jason Johnston schrieb:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Thanks Jason,

Backslash acts as an escape char but it isn't removed.

Never mind, I will remove it in the sitemap component that receives the parameter.
This must be a bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to