Hi Clifton, > An un-related question... I changed the subject. ;)
> How do you escape double quotes? I'm trying to use #set > ($var="\"MyValue\"") but $var ends up with \"MyValue\" instead of > "MyValue". When I try it without the backslashes I get parse errors. There are several ways. 1. If the "MyValue" part is not a reference (which I doubt), you can use single quote. #set($var = '"MyValue"') 2. You can create a variable just for rendering double quotes. Assuming $value has "MyValue" in it. #set($Q = '"') #set($var = "${Q}$value${Q}") 3. You can use the EscapeTool. Again, assuming $value has "MyValue" in it. And $esc has EscapeTool in it. #set($var = "${esc.q}$value${esc.q}") cf. http://wiki.apache.org/jakarta-velocity/EscapeTool Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]