- From: James Clark <jjc@jclark.com>
- Date: Sun, 14 Nov 1999 10:07:58 +0700
- To: "Mark D. Anderson" <mda@discerning.com>
- CC: www-xpath-comments@w3.org
It's on the list of features for future versions (see the Appendix in the XSLT spec). "Mark D. Anderson" wrote: > > i'm curious as to the reason in omitting if-else from xpath? > > i might note that xslt defers to xpath for most of its operators, > but it felt obliged to add if else in (or rather, if and choose). > > since the boolean operators (and, or, not) are stricly boolean, > it is not possible to use c-style tricks to simulate if-else. > > in some situations it is possible to achieve if-else semantics > by use of test expressions (using '[ ... ]') and node-set union > (the '|' operator). > > but that doesn't allow for using if-else within an expression. > > -mda
Received on Monday, 15 November 1999 00:12:55 UTC