[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: If statement and empty attribute
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 06 May 2003 22:28:59 +0200
Karl J. Stubsjoen wrote:
Hi,
I have an if statement which should evaluate to true when the attribute
viewable='true' or does not exist.  It would evaluate to false only when the
attribute viewable equals 'false'.  I've got the following:

<xsl:if test="@viewable!='false'">

Try <xsl:if test="not(@viewable) or @viewable!='false'">

J.Pietschmann



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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member