Re: Evaluation context

Thanks Liam, that makes sense.

On Tue, Jan 17, 2017 at 6:45 PM, Liam R. E. Quin <liam@w3.org> wrote:

> 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 14:27:01 UTC