We do this in maven all the time by doubling the $, e.g.
$${build.sysclasspath}
comes out as
${build.sysclasspath}
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
-----Paul Libbrecht <[EMAIL PROTECTED]> wrote: -----
To: Jakarta Commons Users List <[EMAIL PROTECTED]>
From: Paul Libbrecht <[EMAIL PROTECTED]>
Date: 11/20/2003 09:49AM
Subject: Re: Jelly and bypassing expression evaluation
Yanick,
This is by no means an easy or planned task...
If you really intend to do this, you will have to go to the internals
and probably subclass XMLParser by providing an expression-factory which
has flags determining what to do with "$"...
If you don't want anything there to be evaluated, you could carry this
around as string also, or ? (in code, that would mean pack it all as
CDATA).
Or simply parse another file instead of evaluating it as jelly...
How does it look ?
Paul
Yanick Duchesne wrote:
> I have XML in a custom Jelly tag impl that I would like Jelly NOT to
> evaluate; the XML contains ${....} variables that are not destined for
> Jelly. Currently, Jelly tries to evaluate the expression (which happens
to
> be in a format that Jelly doesn't like); What's the work around?
>
> Could I escape the '$' sign? If yes, how? I did not see how in the doc...
>
> Thanks a lot.
>
>
>
> Yanick Duchesne
> Software Architect
> Architecte d'applications
> Newtrade/Expedia
> [EMAIL PROTECTED]
> tel +1 514 286 8187 x 3009
>
---------------------------------------------------------------------
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]