This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Conditional IE5 xsl
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Conditional IE5 xsl
- From: Ben Robb <Ben at cscape dot com>
- Date: Mon, 10 Apr 2000 11:10:24 +0100
- Reply-To: xsl-list at mulberrytech dot com
> I need to execute different html code depending on the
> value of a node eg. ("/Form/Name").
<xsl:choose>
<xsl:when select="/Form/Name[. = 'Brown']">
<!-- do something -->
</xsl:when>
<xsl:otherwise>
<!-- do something else -->
</xsl:otherwise>
</xsl:choose>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list