This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Conditional [AND] [OR] testing.
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Conditional [AND] [OR] testing.
- From: Stephen Cunliffe <scunliffe at digitalfairway dot com>
- Date: Wed, 21 Feb 2001 15:00:24 -0500
- Organization: Digital Fairway Corporation
- References: <DB4D0D451426D11190EA0060B03CCC790132E04C@VANCOUVER_NT>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Ahh, ignore my query, I goofed swapping my original content from "!=" to
"=="
Sufice to say, it therefore didn't work.
Brain must be stuck on JS.
Steve
"Clapham, Paul" wrote:
> Oddly enough, you use "and" and "or" for this...
>
> <xsl:if test="vehicle='car' and colour='red'">
> <xsl:when test="vehicle='financed' or vehicle='leased'">
>
> PC2
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list