xsl-list
[Top] [All Lists]

Re: [xsl] xsl: Actual output is "" : Expected output is 0

2008-08-20 04:28:29
       <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>
--~--