Hi, Andres,

Actually, I don't think this is the right list to be asking XSL specific
questions...

My advice, though, is to try the book "XSLT Cookbook" by Sal Mangano (ISBN:
0-596-00372-2). I've found it to be very helpful. It is also available on
O'Reilly Safari (safari.orielly.com).


Regards,
Dave




> -----Original Message-----
> From: Andres Taborda [mailto:[EMAIL PROTECTED]
> Sent: 21 November 2004 11:44
> To: [EMAIL PROTECTED]
> Subject: question on xsl
>
>
> 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to