Subject: RE: boolean attribute values
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 26 Jul 1999 16:58:38 +0100
|
> Really, all I'm asking is, I want something to happen when a certain
> attribute is set to true (and something to happen when it is
> set to false).
I assume you mean, you want something to happen when it is set to "true"
(since the value of an attribute is a string, not a boolean).
Then write:
<xsl:if test="@att='true'">
MK
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|