xsl-list
[Top] [All Lists]

RE: Is it possible to display blank when sum or count retruns 0 by using format-number

2005-02-28 23:58:51
Hi,

I want to display blank instead of 0 when count or sum
 returns 0. Is it possible to achieve the same using
format-number function or should I write my own
formatter to achieve it.

  <xsl:variable name="n" select="count(foo)"/>  
  <xsl:value-of select="format-number($n, '#')"/>

Cheers,

Jarno - Cephalgy: Wer ich Bin

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>