Re: [xsl] test if null

Subject: Re: [xsl] test if null
From: -= jay =- <deepsweech@xxxxxxxxx>
Date: Tue, 28 Jun 2005 09:41:14 +0800
i tried this one and still its not working.

my node would be either
<EMPTYNODE /> if empty
and
<EMPTYNODE>XXXXXX</EMPTYNODE> if not empty

now im checking if there is a value or not.
thanks

On 6/27/05, Mukul Gandhi <mukul_gandhi@xxxxxxxxx> wrote:
> I would do <xsl:if test="not(EMPTYNODE/node())"> , or
> as David has written ..
>
> Regards,
> Mukul
>
> --- -= jay =- <deepsweech@xxxxxxxxx> wrote:
>
> > Hi guys,
> >
> > How would i test if a node is null?
> > like i have this empty node <EMPTYNODE />
> > <xsl:when test="EMPTYNODE[.!= '']">
> >
> > is not working.
> >
> > --
> > *-::jay::-*
> >
> >
>
>
>
>
> ____________________________________________________
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy Football
> http://football.fantasysports.yahoo.com
>
>


--
*-::jay::-*

Current Thread