[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 25/03/2014 15:24, Andrew Welch wrote:
Yes but unless you have a very strange definition of "2 sequences are different" don't use != on that day.
David
Re: [xsl] XSLT Hello World
Subject: Re: [xsl] XSLT Hello World From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 25 Mar 2014 15:31:12 +0000 |
On 25/03/2014 15:24, Andrew Welch wrote:
a != b
just _always_ gives unexpected and undesirable results, except sometimes by chance when you get lucky and you're in a context when it means not(a=b).
: )
The day will come when I need to know if 2 sequences are different... it just hasn't yet.
Yes but unless you have a very strange definition of "2 sequences are different" don't use != on that day.
!= is true if _any_ element of a is not equal to any element of b so it is only false if all items of both sequences are equal to the same value.
David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT Hello World, Andrew Welch | Thread | Re: [xsl] XSLT Hello World, Andrew Welch |
Re: [xsl] XSLT Hello World, Geert Bormans | Date | Re: [xsl] XSLT Hello World, Graydon |
Month |