<p>I have A $param that I am passing into a template. I wish to use the value of this parameter as class name for a div. The class is not taking the value of the parameter but taking the parameter name (in the html page it is $param). Is there any way I can use the value of a parameter as a class name?</p>

The following should work:
```
```
<div>
<xsl:attribute name="class">
<xsl:value-of select="$param"/>
</xsl:attribute>
</div>
```
```