Then you should be able to code it easily e.g.
Code:
<xsl:template name="hour_pulldown">
<xsl:param name="i"/>
<select name="select">
<xsl:for-each select="0 to 24">
<option>
<xsl:if test=". eq $i">
<xsl:attribute name="selected" select="'selected'"/>
</xsl:if>
<xsl:value-of select="if (. lt 10) then concat('0', .) else ."/>
</option>
</xsl:for-each>
</select>
</xsl:template>