It works now. The problem was that one of my variables was a string,
not a number. Using the XPath function 'number()' solved this.
2005/6/15, Wim Deblauwe [EMAIL PROTECTED]:
I'll check out the resource tomorrow for more info. I already tried
the statement you say, but it did not seem to work.
Hi,
I can't find a good jelly resource anywhere on the net, so I hope this
list might help me out.
Consider this jelly fragment:
x:forEach var=passRate
select=//[EMAIL PROTECTED]'junitpassrate'][not(text()='-')][text()]
x:set var=passrateValue select=substring-before(text(), ' %')/
On Wed, 15 Jun 2005, Wim Deblauwe wrote:
See http://jakarta.apache.org/commons/jexl/reference/syntax.html,
jexl is Java Expression Language, the default scripting language used in
jelly. You can use j:set var=sum value=${ sum + passRateValue }/ or
something.
Hi,
I can't find a good jelly
I'll check out the resource tomorrow for more info. I already tried
the statement you say, but it did not seem to work.
2005/6/15, Kenney Westerhof [EMAIL PROTECTED]:
On Wed, 15 Jun 2005, Wim Deblauwe wrote:
See http://jakarta.apache.org/commons/jexl/reference/syntax.html,
jexl is Java