cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: How do you include braces in an attribute?
Date Wed, 16 Jan 2002 03:19:00 GMT
> From: Berin Loritsch []
> I like the ability to do parameter substitution, but how do you pass a
> value that does not expand the attribute?
> For instance, I have an action that performs redirection to a specific
> form.  I want to include the key in the URI, but do the expansion
> I have an action set like this:
>    <map:action-set name="reports">
>      <map:act type="catgroup" src=""/>
>      <map:act type="report" action="Run Difference Report">
>        <map:parameter name="report"
> report.pdf"/>
>      </map:act>
>      <map:act type="report" action="Run Compliance Report">
>        <map:parameter name="report"
>      </map:act>
>    </map:action-set>
> The problem is that the "section-{cdlid}" portion of the URI is
> before the path is given to my action.  I want to perform the
> of {cdlid} myself in the action.  Do we have escape characters for the
> braces? 

IIRC, yes. Escaped string should look like "section-\{cdlid}" (check
XSLTFactoryLoader for details... I did not used this before)


> Or do I have to choose a different marker to perform the
> substitution?

To unsubscribe, e-mail:
For additional commands, email:

View raw message