xsl:otherwise Element

Provides multiple conditional testing in conjunction with the <xsl:choose> and <xsl:when> elements.

<xsl:otherwise>
</xsl:otherwise>

Attributes

None.

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.

See Also

XSLT Elements | Conditional Templates

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.