> Sorry, yes, I was thinking of another language.
> Try using a variable instead:
> 
> jc.getVars().put("nl","\n");
> e = ExpressionFactory.createExpression("foo.bar.indexOf(nl)");
> 

thanks a lot, works great, also with JXGenerator in Apache-Cocoon:

  <jx:set var="nl" value="&#10;"/>
  ${foo.bar.indexOf(nl)}


Christoph


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

Reply via email to