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

Re: [xsl] Problem with "except" operator


Subject: Re: [xsl] Problem with "except" operator
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 11 Feb 2009 15:06:52 +0000

>> So the above are equivalent.
>
> I think not, Andrew ... Martin is correct.

yep... I've kind of blogged about this a while back:

http://ajwelch.blogspot.com/2007/08/when-b-and-b-both-return-true.html

...but it still always catches me out.

The rule I mention there is "never use != where both sides are
sequences of more than one item" which is why I thought ". != x" would
be ok... but it looks like that should be:

"never use != where one side is a sequence of more than one item"



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


Current Thread