Subject: Re: [xsl] XSLT number() problem From: Mike Brown <mike@xxxxxxxx> Date: Thu, 20 Jun 2002 02:23:54 -0600 (MDT) |
Andrew Welch wrote: > Is there a reason why number(0) returns false? It doesn't, it returns the number 0, but when you put it in an xsl:if or xsl:when test, you're really asking for boolean(number(0)), which returns false. See the XPath spec under Boolean Functions. - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT number() problem, Andrew Welch | Thread | Re: [xsl] XSLT number() problem, Wei-Chin Hsieh |
Re: [xsl] passing parameters to XSL, Mike Brown | Date | [xsl] Re: AW: Article: An XSL Calcu, Dimitre Novatchev |
Month |