This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Re: Re: An issue with XPath 2.0 sequences (Was Re: RE: Muenchian method, and keys 'n stuff)
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 1 Feb 2002 10:27:56 -0000
- Subject: RE: [xsl] Re: Re: An issue with XPath 2.0 sequences (Was Re: RE: Muenchian method, and keys 'n stuff)
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Also as Jeni pointed out the weird case of sequences changing their
> cardinality when mapped by a function that may return the null
> sequence...
Or when mapped by any other function that doesn't preserve the cardinality
of its input. A function that returns two items for every supplied item
works in exactly the same way as a function that returns zero items for
every supplied item: at least it's consistent! And it's also consistent with
the behaviour of the "/" operator in path expressions, which I haven't heard
anyone complain about.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list