[xquery-talk] min max and mix

Ihe Onwuka ihe.onwuka at gmail.com
Mon Feb 10 04:51:44 PST 2014


On Mon, Feb 10, 2014 at 12:45 PM, David Carlisle <davidc at nag.co.uk> wrote:
> 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·.
>
>
>
> http://www.w3.org/TR/xpath-functions/#func-max
>

...and now you have exposed what motivated the experiment.



More information about the talk mailing list