cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <>
Subject Re: xsl:for-each increase integer variable value ???
Date Fri, 26 Mar 2004 16:40:39 GMT
Sorry, you're misunderstanding the way xslt works.
This can not work at all.
you may use <xsl:count> or position() or some <call-template>.

There is no counter like Java with xslt.

For more help, you can send a message to this mailing list :

hope this helps

At 17:24 26/03/2004 +0100, you wrote:
>I would like to use <xsl:for-each>, and for every run the variable should
>increase by let's say the value 10.
>How can I do that?
>I thought of something like
><xsl:for-each select="name">
><xsl:value-of select="a"/>
>thanks for your answer.
>+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
>100% Virenerkennung nach Wildlist. Infos:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : Fax :

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message