struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: [OT] XSL problem... not really struts, but I guess there are people here that know some XSL
Date Fri, 13 Feb 2004 15:00:57 GMT
Try:

<xsl:if test="string(following-sibling::article/imgtype) != 'none'">

I did a quick test with JSTL's <x:if> and it seemed to make a difference.

Quoting Hendrickx Wesley <Wesley.Hendrickx@cronos.be>:

> Any one has any ideas why the following statement does not work?
> 
> <xsl:if test="following-sibling::article/imgtype != 'none'">
> 
> WHILE
> the following does print out the correct value
> 
> <xsl:value-of select="following-sibling::article/imgtype"/>
> 
> 
> 
> Thx in advance


-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message