From: <el...@us...> - 2005-11-27 00:33:33
|
Hi! Is there a way to pass data from the model to xsl:attribute-tags in an xsl:template? <MODEL_VAR> works fine in xsl:templates: <xsl:template match="BlaBla"> <a> <MODEL_VAR NAME="myvar"/> </a> </xsl:template> but not in xsl:attribute tags... <xsl:template match="BlaBla"> <a> <xsl:attribute name="href"> <MODEL_VAR NAME="myvar"/> </xsl:attribute> ..or in xsl:param tags... <xsl:param name="apa"> <MODEL_VAR NAME="myvar"/> </xsl:param> Have I missed something obvious? /Carl |