Re: [xsl] using "and" / "or"

Subject: Re: [xsl] using "and" / "or"
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Sat, 4 Aug 2001 09:29:15 +0100
The thing that tends to confuse people about boolean operations in XSLT
is that, although the *operators* are and behave as you would expect,
the *operands* aren't always what programmers from other backgrounds
assume them to be, especially where one or both of them is a node-set
rather than (the equivalent of) a string. So when Boolean expressions
return apparently odd results, people suspect there's something odd
about the operators (or maybe their associativity), when the problem
lies in what they're evaluating.

Michael
---------------------------------------------------------
Michael Beddow   http://www.mbeddow.net/
XML and the Humanities page:  http://xml.lexilog.org.uk/
---------------------------------------------------------


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


Current Thread