[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] getting the counter for a for-each statement
Subject: [xsl] getting the counter for a for-each statement From: "Jaime A Stuardo Bahamondes" <jstuardo@xxxxxxxxxxx> Date: Thu, 11 Dec 2003 13:13:03 -0400 |
Hi all.. I have this for-each: <xsl:for-each select="ROW[count(. | key('tipos_calculo', DET_TIPO_CAL_ID)[1]) = 1]"> <xsl:value-of select="count" /> </xsl:for-each> I neet to get the index of each iteration. For example, suppose that for-each loops 3 times, so, the output would be: 1 2 3 Any help? Thanks Jaime XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Why template match differ, Jarno . Elovirta | Thread | RE: [xsl] getting the counter for a, J. Trevor Harris |
[xsl] Why template match differs?, SHEIKH Sajjad | Date | Re: [xsl] Why template match differ, David Carlisle |
Month |