There is no standard way to increment a variable in XSLT. variables in XSLT are immutable (Once a variable has been defined, it cannot be changed).
here the part of the code i used to do decrement in XSLT.
Using a recursive call-template does the trick..
Basically we call a template from within one template with a parameter that is setto the beginning of the increment.call the same template, this time incrementing the value of the included parameterby whatever you want by adding the necessary arithmetic within the select statement.

No comments:
Post a Comment