XSLT:when
From MDC
Contents |
The <xsl:when> element always appears within an <xsl:choose> element, acting like a case statement.
[edit] Syntax
<xsl:when test=EXPRESSION> TEMPLATE </xsl:when>
[edit] Required Attributes
test- Specifies a boolean expression to be evaluated. If true, the contents of the element are processed; if false, they are ignored.
[edit] Optional Attributes
None.
[edit] Type
Subinstruction, always appears within an <xsl:choose> element.
[edit] Defined
XSLT, section 9.2.
[edit] Gecko support
Supported.