I have the following template:
<xsl:template name="theday">
<xsl:param name="thisday" />
<xsl:variable name='holiday' select='foo'/><!-- made this static for testing -->
<td class="{$holiday}"> <!-- no value is inserted in class -->
<a>
<xsl:attribute name='href'><xsl:value-of
select="concat('?date=',$thisday)" /></xsl:attribute>
<xsl:value-of select="date:day-in-month($thisday)" />
</a>
</td>
</xsl:template>
I expect to get HTML something like this:
<td class="foo">
<a href="?date=2009-11-02">2</a>
</td>
Unfortunately, I get:
<td class="">
<a href="?date=2009-11-02">2</a>
</td>
What am I missing?