Re: [xsl] String comparison

Subject: Re: [xsl] String comparison
From: Brook Ellingwood <brook@xxxxxxxxxxx>
Date: Mon, 13 Oct 2003 14:36:43 -0700
> From: Archana Rao <archana_heroor@xxxxxxxxx>
> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Date: Mon, 13 Oct 2003 08:24:51 -0700 (PDT)
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] String comparison
> 
> I tried <xsl:if test="$userid!=''>, this does'nt seem
> to help.

I'm assuming that in your code you have the closing " missing above.

I'm not sure what processor you are using, but I have run into instances
where it seemed that MSXML looks for white space between a string and !,
even though it doesn't require white space between a string and =. Try this:

<xsl:if test="$userid !=''">

-- Brook


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread