Subject: Re: test if null
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 28 Jun 2005 11:52:52 +0100
|
> Hi,
>
> Try
>
> 1. <xsl:if test="not(NEWSFLASHAURL = '')"/>
That is equivalent to
<xsl:if test="string(NEWSFLASHAURL)"/>
> or
>
> 2. <xsl:if test="not(string-length(NEWSFLASHAURL) = 0)"/>
That is equivalent to
<xsl:if test="string(NEWSFLASHAURL)"/>
> or
>
> 3. <xsl:if test="not(count(*) = 0)"/>
That is equivalent to
<xsl:if test="*"/>
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
| Current Thread |
omprakash . v - 28 Jun 2005 10:40:02 -0000
- David Carlisle - 28 Jun 2005 10:53:23 -0000 <=
|
|