Using XSLT variable !!!

wxdqz

New Member
I'm new in XSLT.I want to use avariable to store Id as a parameter like this :
<xsl:for-each select="NewDataSet/Table">
<tr>
<td style="font-family: Verdana;font-size : 8pt;color:blue">
<xsl:variable name="id" select="Id" />
<xsl:value-of select="Id"/>.
</td>
<td>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"showCatalog.aspx?id='$name' class="catalogLink" ><xsl:value-of select="Name"/> </a>
</td>
</tr>
</xsl:for-each>

but this code doesn't work properly.
Can any one help me ?
Thanks you very much !
 
Back
Top