Subbiah Raman <[EMAIL PROTECTED]> wrote:
> I am trying to use a SAX parser in Velocity context and I need to do the 
> following
> 
> #set($temp = "$root.getRootElement().getChild("email").getText() )
> 
> But it throws
> org.apache.velocity.exception.ParseErrorException: Encountered "email"

In addition to what others have said, you can also use single-quotes inside 
your double-quotes.

#set($temp = "$root.getRootElement().getChild('email').getText()" )

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to