[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] increment value

Subject: RE: [xsl] increment value
From: Strolia-Davis Christopher Contr MSG/MAT <Christopher.Strolia-Davis@xxxxxxxxxxxx>
Date: Thu, 22 Jan 2004 12:54:09 -0500

> How do I increment a variable to add to the string?

Technically, this is not possible in XSL, as variables cannot be 
changed once assigned.

However, you may be able to find an alternate method to get these 
values using something like position()

or (and I don't have a ready made example for this, so bear with me) 
the one way I have found for doing anything similar with variables 
is to use recursive template calls.  I'm not sure,at the moment, how 
I would apply this to your situation, however.

Chris Strolia-Davis
Database Specialist
Contractor - CDO Technologies Inc.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread