RE: [xsl] Assigning numbers

Subject: RE: [xsl] Assigning numbers
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 11 Dec 2003 12:34:52 +0200
Hi,

> ----------------------------- Expected Results
> ------------------------------
> 
> <a href="http://localhost?value1=Entorpresse&value2=KFC&value3=1.
> Questions Dossiers&value4=E - 110803GTO nama LK213 environmental chick
> (2001 18)"> click here </a>

You say you want to generate a link
 
> ----------------------------- my.xsl ------------------------------
> 
> <xsl:template match="link">
> <table>
>  <tr>
>   <xsl:for-each select="location">
> 	 <td>value=<xsl:value-of select="."/>&amp;</td>
>   </xsl:for-each>
>  </tr>
> </table>
> </xsl:template>

But in your stylesheet you're creating a table. Which one should it be? Anyhow, use <xsl:value-of select="position()" />.

Cheers,

Jarno - Lights Of Euphoria: True Life

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread