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:when
element within the enclosingxsl:choose
whose test condition matches the current element, the content of thexsl:when
element is expanded, otherwise it is ignored.