xsl-list
[Top] [All Lists]

RE: Assigning numbers

2003-12-11 03:34:52
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



<Prev in Thread] Current Thread [Next in Thread>