Subject: XSL - Counting the number dropshipid nodes processed
From: "Challa, Harsha" <hchalla@xxxxxxxxxxxx>
Date: Mon, 10 Oct 2005 14:29:55 -0400
|
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
|