This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: When test expression
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] When test expression
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 28 Mar 2001 10:45:40 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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