> Jose Alberto Fernandez wrote:
> >
> > The point here is not how to escape but that the regular way to do this,
> > i.e., pass your value thru a function, or write a macro that calls that
> > function; they just polute the template and makes the whole thing
dificult
> > to read.
> >
> > The need is for a mechanism that can perform this transformations
implicitly
> > without having to call something everytime we type "${....}".
> >
>
> What's the downside again for postprocessing the rendered stream?  I
> don't remember...

If I have a template <text>$name</text> and context.put ("name","<>") the
output stream looks like this

<text><></text>

How do I go from that to this

<text>&lt;&gt;</text>

without knowing what was original XML and what was inserted?

~ Leon

Reply via email to