Hi,
If you want the final score, then instead of incrementing a variable in xsl (which you can't do anyways since xsl variables are all immutable), you can use a construct like:
<xsl:value-of select="count(question/identquest[@id='Q']/response/condition[@ident='Correct'])"/>
This...
Hi Deepa,
You can try the sum function:
<xsl:variable name="total" value="sum(UsageItem/TaxAmount/Value)"/>
now, 'total' will have the sum of all the 'value' nodes under TaxAmount.
All the best.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.