<xsl:when> Element
Provides multiple conditional testing in conjunction with the <xsl:choose> and <xsl:otherwise> elements.
<xsl:when
test = boolean-Expression>
</xsl:when>
Attributes
test
Required. The condition in the source data to test. If the expression in this attribute evaluates to True when cast to a Boolean, the content of <xsl:when> is instantiated and placed in the output. Node-sets are cast to a Boolean True if they contain at least one node.
<xsl:when> Element
Provides multiple conditional testing in conjunction with the <xsl:choose> and <xsl:otherwise> elements.
<xsl:when
test = boolean-Expression>
</xsl:when>
Attributes
test
Required. The condition in the source data to test. If the expression in this attribute evaluates to True when cast to a Boolean, the content of <xsl:when> is instantiated and placed in the output. Node-sets are cast to a Boolean True if they contain at least one node.