xsl-list
[Top] [All Lists]

RE: [xsl] Effective boolean value is not defined for a sequence of two or more items starting with a numeric value

2008-04-15 07:21:05
It is intuitive though (to me at least), that a predicate 
containing [1, 3, 5] would select the first , third and fifth 
items in the sequence...

We did try quite hard to define an overloading of the [] operator to accept
a sequence of integers. It proved quite problematic because of corner cases
like [1,2,3,true()].

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--