docs.rodeo

MDN Web Docs mirror

The <xsl:when> element always appears within an <xsl:choose> element, acting like a case statement.

Syntax

<xsl:when test=EXPRESSION>
  TEMPLATE
</xsl:when>

Required Attributes

Optional Attributes

None.

Type

Subinstruction, always appears within an <xsl:choose> element.

Specifications

XSLT, section 9.2.

Gecko support

Supported.

In this article

View on MDN