[Home] [By Thread] [By Date] [Recent Entries]
Volker
> Can I solve this with params instead of varialbes?
Yes.
<xsl:apply-templates select="nr">
<xsl:with-param name="colorval" select="$color"/>
</xsl:apply-templates>
Then modify your match template to accept the paramter.
<xsl:template match="nr">
<xsl:param name="colorval"/>
<td bgcolor="{$colorval}">
<xsl:value-of select="."/>
</td>
</xsl:template>
Hope this helps.
--
Kevin
|

Cart



