This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: match selection formulae
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] match selection formulae
- From: "cutlass" <cutlass at secure0 dot com>
- Date: Fri, 7 Sep 2001 13:29:31 +0100
- References: <001101c13794$fde62350$0100007f@PCUKMKA>
- Reply-To: xsl-list at lists dot mulberrytech dot com
and...
<xsl if test="@rend">
is just like writing <xsl:if test="boolean(@rend)">
cheers, jim fuller
----- Original Message -----
From: "Michael Kay" <mhkay@iclway.co.uk>
To: <xsl-list@lists.mulberrytech.com>
Sent: Friday, September 07, 2001 10:28 AM
Subject: RE: [xsl] match selection formulae
> > In my naiveity, I thought that @rend='' would be the
> > equivalent of testing for
> > the non-existence of an attribute - however, not(@rend)
> > doesn't appear to work either.
>
> boolean(@rend) is true if the attribute exists
> not(@rend) is true if the attribute doesn't exist
> @rend='' is true if the attribute exists and has the value "".
>
> Mike Kay
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list