XML & XSL - xsl:otherwise


Multiple conditional testing in conjunction with the xsl:choose and xsl:when.

Syntax

<xsl:otherwise>

Attributes

None.

Parent Elements

Child Elements

Purpose

Provides a default condition for xsl:choose. Other alternatives are controlled by xsl:when.

Use the xsl:if for simple conditional testing.

Global Population Extraction Example

Click here to view an example.