Re: [xsl] XSLT repetition constructs

Subject: Re: [xsl] XSLT repetition constructs
From: "John Lumley john@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 6 Mar 2019 13:01:18 -0000
On 05/03/2019 22:17, Dimitre Novatchev dnovatchev@xxxxxxxxx wrote:
It isn't correct to use "repetition" for a set of operations that are
independent from each other and can be executed in any order or in

In this group fall such operations as <xsl:for-each>. the XPath for
expression, the ! (bang) operator and applying a function in the last
location step of an XPath step-expression (sorry if I don't remember
the exact terminology).

All of these are *mapping" operations, like the map function in
Haskell. These have nothing to do with repetition.

Note that the XSLT3.0 specification does actually describe these under a chapter heading "Repetition".....

And one can consider a mapping over a finite set of domain points as 'repeat this function over each of these points' ....

*John Lumley* MA PhD CEng FIEE
john@xxxxxxxxxxxx <mailto:john@xxxxxxxxxxxx>
on behalf of Saxonica Ltd

Current Thread