[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] increment in xpath
Hey there! Is it possible to build an increment in xsl like in Java? Java example: ========================= int k = 0; for(int i = 0; i < 20; i++) { System.out.println("k is: "+k); k += 3; } ========================= I'm looking for something like that in XSL: ========================= <xsl:varible name="k" select="0" /> <xsl:for-each select="myList"> Increment: <xsl:value-of select="number($k)+3" /> </xsl:for-each> ========================= Thanks for help! Dariusz _________________________________________________________________________ Mit der Gruppen-SMS von WEB.DE FreeMail kvnnen Sie eine SMS an alle Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|