<xsl:otherwise> Element
Provides multiple conditional testing in conjunction with the <xsl:choose>
and <xsl:when>
elements.
<xsl:otherwise> </xsl:otherwise>
Element Information
Number of occurrences | Unlimited |
Parent elements | xsl:choose |
Child elements | xsl:apply-templates, xsl:attribute, xsl:call-template, xsl:choose, xsl:comment, xsl:copy, xsl:copy-of, xsl:element, xsl:for-each, xsl:if, xsl:processing-instruction, xsl:text, xsl:value-of, xsl:variable, output elements |
Remarks
Provides a default condition for <xsl:choose>
. Other alternatives are indicated by <xsl:when>
elements.
For simple conditional testing, use the <xsl:if>
element.
Example
See the example for <xsl:choose>.
See Also
Defining Conditional Templates Using <xsl:if> and <xsl:choose> | <xsl:when> Element