Wannheden, Knut
Wed, 26 Feb 2003 09:26:36 -0800
> > I noticed that <j:set/> has an "encode" attribute, but > that's used to > encode > > stuff like "<" into "&lt;", right? So you propose > to add another > > attribute "encoding" to control whether to encode data into > valid XML > text? > > Sorry I meant the 'encode' attribute. This defaults to true which will > encode > into <. So setting this to false will fix your issue. >
Doesn't seem to work for me (using CVS version)... No matter if I set
"encode" to true or false, the outcome of the script:
<j:jelly xmlns:j="jelly:core">
<j:set var="foo" encode="false">
<bar/>
</j:set>
${foo}
</j:jelly>
is always "<bar></bar>". Am I missing something else here?
--
knut