Hi

I'm transforming xml to wml.

My xml document looks like this:
CODE
<personal>
    <info>
        <name>Sam</Title>
        <surname>Stride</Genre>
    </info>
    <info>
        <name>Ronald</Title>
        <surname>Nel</Genre>
    </info>
</personal>


and my xsl document like this:
CODE
<wml>
<xsl:for-each select = "personal/info ">
    <card id="card1" title="Personal">
        <p>     Hallo <xsl:value-of select="name"/>
            <xsl:value-of select="surname"/>
        </p>
        <p> <anchor> Next person <go href="#card2" /> </anchor> </p>
    </card>
</xsl:for-each>
</wml>



I want to use a for-each to go through the xml document.
Do I need to use variables to increment the card number so that the user can link to the different cards, if so, how can I do this?