Re: [xsl] XSL - Counting the number dropshipid nodes processed

Subject: Re: [xsl] XSL - Counting the number dropshipid nodes processed
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Mon, 10 Oct 2005 20:35:28 +0200
<xsl:for-each select="dropshipid">
  <xsl:value-of select="position()" />
</xsl:for-each>

:)

Challa, Harsha wrote:

Hello xsl gurus,

I have the following code which needs to be done in xsl.
I am processing a couple of dropshipid nodes. I want to keep a counter and
print the counter as I process the nodes using XSL. (Similar to whar we do in C programming language etc/
i = 0 (initiatise)
print (i++) )


Can someone let me know how this can be achieved

XML
<dropshipid>xxx</dropshipid>
<dropshipid>yyy</dropshipid>
<dropshipid>yyy</dropshipid>

thanks
Harsha



-- Drs. G.P.H. Josten Consultant



Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl


De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.


Current Thread