How to declare a variable and increment that variable using xsl
This is an open discussion with 2 replies, filed under General.
Search
Try using a recursive template.
Like this?
<input type="text" value="{background-colour}" id="bg_color_code_{position()}" />
Create an account or sign in to comment.
In this code i want to increment the ID specified according to the for loop.
For example, if i declare a variable called "i". It should increment to "id"+"i". "bgcolorcode"+"i".
Please provide solution for this.
Thanks in advance. Regards Uthayavin