RE: [xsl] When test expression

Subject: RE: [xsl] When test expression
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 28 Mar 2001 10:45:40 +0100
> I have a template with logic:
>
>    <SPAN>
>       <xsl:choose>
>          <xsl:when test="A/B">
>             <xsl:value-of select="A/B"/>
>          </xsl:when>
>          <xsl:otherwise>
>             <xsl:node-name/>
>          </xsl:otherwise>
>       </xsl:choose>
>    </SPAN>
>

I hope you're aware that <xsl:node-name> is WD-xsl syntax, not XSLT.

If you want to ask WD-xsl questions on this list, please flag them so that
those of us who don't know this dialect can delete the mail and move on!

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread