<xsl:if test="$d">
<xsl:value-of select="$d"/> <!-- Output is
nb-discount="" why the output is not 0 as expected-->
Or of course when $d = 0 it's effective boolean value is false() so
the value-of would never be executed....
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--