This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl:when and xsl:choose
- To: xsl-list at mulberrytech dot com
- Subject: Re: xsl:when and xsl:choose
- From: Paul_Dick at lotus dot com
- Date: Tue, 18 Jul 2000 16:33:14 -0400
- Reply-To: xsl-list at mulberrytech dot com
Justin,
In the example below removing the []'s, from each of the xsl:when
elements.
The []'s come into play with specifying predicates on node tests. The
match
on xsl:when requires a Boolean expression.
<xsl:choose>
<xsl:when match="[@initcost='0']">
<img src="c:\windows\desktop\Stylesheet Files\bar-0-48.gif"
width="48" height="150"/>
</xsl:when>
Paul
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list