On 05/03/2019 22:17, Dimitre Novatchev dnovatchev(_at_)gmail(_dot_)com 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
parallel.
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(_at_)saxonica(_dot_)com <mailto:john(_at_)saxonica(_dot_)com>
on behalf of Saxonica Ltd
--~----------------------------------------------------------------
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
--~--