[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL - Counting the number dropshipid nodes process

Subject: Re: XSL - Counting the number dropshipid nodes processed
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Mon, 10 Oct 2005 20:35:28 +0200
number of nodes xsl
<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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.