[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|