RE: DN-FO-09: 15.1.11 fn:distinct-values

> Being able to have fn:distinct-values return the values
> implementation-dependent provides for better performance for this often
> performance critical operation. Thus I would be strongly against
> mandating an order.

Unordered distinct sequence can be obtained by:

fn:unordered(fn:distinct-values($seq))
fn:unordered(fn:distinct-nodes($seq))

like in any other case when order is not required.

So distinct-xxx returning sequences in order will be two in one.


Best regards
Noe Michejda
7th Portal S.C.

Received on Tuesday, 24 June 2003 07:51:26 UTC