Results 1 to 5 of 5

Thread: increment count

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2005
    Posts
    107

    increment count

    Hi

    I've got a stylesheet with a for loop

    <xsl:for-each select="a:multistatus/a:response">

    I've got an element in it:

    <a>
    <xsl:attribute name="href">Clipping.aspx?sTitle=<xsl:value-of select="(aropstat/arop/a:href)"/>
    </xsl:attribute>
    </a>

    How can I add an incremented ID value for each element in the loop,so the link looks like this:

    Clipping.aspx?ID=i&sTitle=<xsl:value-of select="(aropstat/arop/a:href)"/

    Thanks

    Kati
    Last edited by katib; Jan 31st, 2006 at 09:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width