[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] or condition


Subject: Re: [xsl] or condition
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 2 Aug 2002 11:39:32 +0100

> Is this correct?

why not just try it?
Yes it looks OK to me. Note you are testing string values not mumeric
values. It might be that you really want $a=1 not $a='1' it depends.

if numeric tests are OK and you know it's an integer you could say
$a &gt; 0 and $a &lt; 5
instead of listing 1 2 3 4 explictly.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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



Current Thread