[xquery-talk] min max and mix

David Carlisle davidc at nag.co.uk
Mon Feb 10 04:45:34 PST 2014

On 10/02/2014 12:36, Ihe Onwuka wrote:

> The stability thing is not a use case of mine either. Was just
> interested to see what min/max would do when confronted with
> multiple nodes that evaluated to the same value and to see if I could
> trace which one it picked.
> There you've dragged the wretched truth out of me.
> _______________________________________________

This is documented as implementation dependent, so any experiments are
limited in value to that particular implementation version.

> Selects an item from the input sequence $arg whose value is greater
> than or equal to the value of every other item in the input sequence.
> If there are two or more such items, then the specific item whose
> value is returned is ·implementation dependent·.



More information about the talk mailing list