TOC PREV NEXT INDEX

Netscape XSLT


xsl:choose


The <xsl:choose> element defines a choice among a number of alternatives. It behaves like a switch statement in procedural languages.

Syntax:

<xsl:choose>
	<xsl:when>
	<xsl:otherwise> [optional]
</<xsl:choose> 

Required Attributes: None.

Optional Attributes: None.

Type: Instruction, appears with a template. It contains one or more <xsl:when> elements, and, optionally, a final <xsl:otherwise> element.

Defined: XSLT, section 9.2.

NS support: Supported.


Send comments on this document to devdoc-feedback@netscape.com
TOC PREV NEXT INDEX