Hi,
Is it possible to increase the value of a xsl variable in a stylesheet whilst i am looping around some elements?
What I mean is if i do something like declare a variable:
<xsl:variable name="myVar"/>
Can i reference this in my loop and add to it, e.g. by adding the value of another variable e.g. in pseudo code:
myVar = myVar + $anothervariable
All i basically want to do is add up some values as i go along to display a total at the bottom of an HTML table row.
Any ideas?
Regards.
MrPeds
Is it possible to increase the value of a xsl variable in a stylesheet whilst i am looping around some elements?
What I mean is if i do something like declare a variable:
<xsl:variable name="myVar"/>
Can i reference this in my loop and add to it, e.g. by adding the value of another variable e.g. in pseudo code:
myVar = myVar + $anothervariable
All i basically want to do is add up some values as i go along to display a total at the bottom of an HTML table row.
Any ideas?
Regards.
MrPeds