this code is giving me the output test
when the expected output should be nothing..
Is it something wrong with my XSLT processor or..? :
<xsl:template match="/">
<xsl:param name="IsTextArea">
<xsl:choose>
<xsl:when test="false()">
<xsl:value-of select="true()"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="false()"/>
</xsl:otherwise>
</xsl:choose>
</xsl:param>
<html>
<xsl:choose>
<xsl:when test="$IsTextArea">test
</xsl:when>
</xsl:choose>
</html>
</xsl:template>
Btw i need a solution for raw XSLT 1.0 (no extensions and stuff like that).
Is it possible to set a boolean parameter for a param
in XSLT 1.0?