hello list, excuse me by the following question
progamming in any language a value auto-increment is for ($i=1;$i<6;$i++) $i+=1; in xsl how can make the auto-increment. I have the follow code, not make sum and auto-increment <!--value initial --> <xsl:variable name="posX">1</xsl:variable> <!-- this cicle have 5 element--> <xsl:for-each select="child::*"> <xsl:variable name="posX"> <xsl:value-of select="$posX + 1"/> </xsl:variable> </xsl:for-each> the output should be 1 2 3 4 5 6 the ouput what display is 1 1 1 1 1 some know how make it? thanks _________________________________________________________ Do You Yahoo!? Informaci�n de Estados Unidos y Am�rica Latina, en Yahoo! Noticias. Vis�tanos en http://noticias.espanol.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
