thanks, Brett - that worked! I thought it wasn't at first because I was echoing to the screen using <ant:echo>, but as it turns out this tag escapes xml as well. But the escapeText and encode tags are working in j:set.
On Fri, 12 Nov 2004 09:45:31 +1100, Brett Porter <[EMAIL PROTECTED]> wrote: > We have upgraded Jelly on CVS HEAD and it seems to be working, so you > should be able to drop this all into Maven's lib directly. > > - Brett > > On Thu, 11 Nov 2004 09:26:03 -0500, Ben Anderson > > > <[EMAIL PROTECTED]> wrote: > > Is there anyway I can "insert" the latest version of jelly into maven > > manually? Isn't this the type of dependency version lagging maven set > > out to resolve? I'm really not trying to be an antagonist at all, I > > would just like to use all of Jelly's features. > > Thanks, > > Ben > > > > On Wed, 10 Nov 2004 15:50:11 -0500, Ben Anderson > > > > > > <[EMAIL PROTECTED]> wrote: > > > Hi, > > > How do I set a variable with xml in it and then spit it back out? > > > > > > <j:set var="cats1"> > > > <![CDATA[ > > > <category name=" > > > ]]> > > > </j:set> > > > > > > This escapes the xml, which I dont' want: > > > &ltcategory name... > > > > > > Looking at jelly's documentation, I should be able to do this: > > > <j:set var="cats1" escapeText="false"> > > > > > > but I get this output: > > > <j:set> This tag does not understand the 'escapeText' attribute > > > > > > This seems like a case where maven isn't using the latest jelly again? > > > Does anyone know if there are any workarounds I can use for the > > > current version of maven. > > > > > > Thanks, > > > Ben > > > > > > > --------------------------------------------------------------------- > > 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]
