Hi James,

thanks for your quick help. It helps me a lot.

> 
> XPath support is available in the XML tag library. So you could do
> 
> <x:if test="substring-after($a.b.c, 'sometext')">
>     ...

Cool! Jelly is so cool.

> 
> or whatever other XPath expression you want to use...
> 
> 
> > Any other idea to evaluate string in jelly other than '=='? How do I
> concate
> > string into a variable?
> 
> You can concatenate via expressions
> 
> <j:set var="foo" value="something${expr}something${expr}something"/>

I noticed problem if you want to add a "." into this, but I realized that
wrapping it with ' helps:

<j:set var="foo" value="something${expr}something${expr}something'.jar'"/>

> 
> Or you can use other nested tags and expressions to set the value.
> 
> <j:set var="foo">
>     some text
>     <j:if test="...">...</j:if>
>     etc
>     ${whatever}
>     something else
> </j:set>
> 

This is genious. :-)

What about expression of jstl. Can I write <j:set var="foo" value="<bla:tag
name="bli"/>"/> ??

Bye
Toby

--
To unsubscribe, e-mail:   <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>

Reply via email to