Re: [xsl] XSLT repetition constructs

Subject: Re: [xsl] XSLT repetition constructs
From: "Dave Pawson dave.pawson@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Mar 2019 08:44:12 -0000
On Fri, 8 Mar 2019 at 08:40, Michael Kay mike@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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.

Current Thread