Subject: Re: xsl:when and xsl:choose
From: Paul_Dick@xxxxxxxxx
Date: Tue, 18 Jul 2000 16:33:14 -0400
|
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
|