This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Counting non-empty elements
- From: Sergej <dibona at iei dot pi dot cnr dot it>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 13 Mar 2002 16:47:19 +0100
- Subject: RE: [xsl] Counting non-empty elements
- References: <5.1.0.14.2.20020313145157.00b1e950@mailserv.iei.pi.cnr.it>
- Reply-to: xsl-list at lists dot mulberrytech dot com
At 13/03/2002 10.15, you wrote:
>Try
>
><xsl:if test="string(itemDesc)">
>
>-kevin
My test works fine! The difference between 'string' and 'normalize-space'
is that in the second case the strings composed by only spaces are not
taken into account.
But changing the test of course I don't change the number to write down in
the document.
Sergej
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list