Re: Evaluation context

On Tue, 2017-01-17 at 16:50 -0800, Erik Bruchez wrote:
> 
[...]
> It would be nice in XForms if we had the same:
> 
>     <xf:repeat ref="E1">
>       ... evaluation of E2 using `size(), `position()`, and `last()`
> works
> ...
Note (from the peanut gallery) - the order of evaluation is not defined
in XPath and XSLT - they are not loops but definitions of mappings from
input ot output.

Similarly in XPath 3,
    for $i in 1 to 10 return $i * 3
could be evaluated in parallel (although I doubt any implementation
would for something this simple, they actually do for more complex
things).

Liam

Received on Wednesday, 18 January 2017 02:46:02 UTC