Hallo!
Wie implementiert man in XSLT am besten ein Counter. Geht ja ned wirklich da variablen irgendwie statisch sind.
Mein Problem:
Ich habe eine If Abfrage in einer for-Schleife und immer wenn diese true liefert soll Switch_XXXX ausgegeben werden wobei XXXX aufsteigend nummeriert werden soll also:
Switch_0000
Switch_0001
Switch_0002
.
.
.
Wie löst man das am besten??
Wie implementiert man in XSLT am besten ein Counter. Geht ja ned wirklich da variablen irgendwie statisch sind.
Mein Problem:
Ich habe eine If Abfrage in einer for-Schleife und immer wenn diese true liefert soll Switch_XXXX ausgegeben werden wobei XXXX aufsteigend nummeriert werden soll also:
Switch_0000
Switch_0001
Switch_0002
.
.
.
Wie löst man das am besten??
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Apfelstrudl ()