Schema Central > XSLT 1.0 > XSLT.xsd > xsl:choose
Advanced search
Need XSLT Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

xsl:choose

Element information

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
Any attribute[0..*]Namespace: ##other, Process Contents: skipfrom type xsl:anyType
xml:space [0..1]Anonymous

Used in

Substitution hierarchy

Sample instance

<xsl:choose>
   <xsl:when test="string">Any text, intermingled with:
      <xsl:top-level-element-and-char-instruction/>
   </xsl:when>
   <xsl:otherwise>Any text, intermingled with:
      <xsl:top-level-element-and-char-instruction/>
   </xsl:otherwise>
</xsl:choose>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com