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

xsl variables


Subject: xsl variables
From: emunioz@xxxxxxxxx
Date: Wed, 15 Sep 1999 17:23:53 +0200

Hi everybody:
I´m a new subscribers from Spain, so don´t expect me to speak
English very nice.
I have a trouble with an XSL file where I would like to define a
variable and increase it to reference different repetitions in an EDI
document.
That´s the way I have defined my variable "index" but I can´t get to
initialize it with
1 and I don´t know how I could increase it. I need to reference it into
square brackets
like in the example, but it doesn´t work.

<xsl:variable name="index" expr="1"/>
<xsl:for-each select="//NAD2[indice]">
---increase index----

Someone could help me?
Thanks.


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



Current Thread
Keywords
xsl