xsl-list
[Top] [All Lists]

Re: [xsl] XSLT repetition constructs

2019-03-08 02:44:18
On Fri, 8 Mar 2019 at 08:40, Michael Kay mike(_at_)saxonica(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

Because if $a is an empty sequence (which is the situation on the first 
call), then $a[last()] is an empty sequence, and ($x + ()) returns an empty 
sequence, not $x.

I'm sure I'm not the only one thinking that sounds illogical Mike? (DC?)
I'd appreciated the 'logic' behind that decision (maths?)

regards


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>