xsl:when¶
Used within an xsl:choose element to indicate one of a number of choices.
Available in XSLT 1.0 and later versions. Available in all Saxon editions.
- Content: sequence-constructor
- Permitted parent elements:
xsl:choose
Attributes¶
test- expression
- Match pattern. If this is the first
xsl:whenelement within the enclosingxsl:choosewhose test condition matches the current element, the content of thexsl:whenelement is expanded, otherwise it is ignored.