This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: using "and" / "or"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]