[xquery-talk] How to Reverse an Array

Eliot Kimber ekimber at contrext.com
Fri Jul 17 06:39:38 PDT 2015


Ah--I missed that one--I'm bouncing between the 3.1 spec and a near-final
draft of Priscilla Walmsley's updated XQuery book.

Cheers,

E.
----
Eliot Kimber, Owner
Contrext, LLC
http://contrext.com




On 7/17/15, 8:31 AM, "Benito van der Zander" <benito at benibela.de> wrote:

>
>Hi Eliot,
>
>http://www.w3.org/TR/xpath-functions-31/#func-array-reverse
>
>Bye,
>Benito
>
>
>On 17.07.2015 15:26, Eliot Kimber wrote:
>> I'm still getting my head around dynamic functions and arrays in XQuery
>> 3.1.
>>
>> My question for today: easiest/best/most-efficient/cleverest way to
>> reverse an array.
>>
>> You can't just use reverse() on an array, so how to produce a new array
>> that is the reverse of the input array?
>>
>> Thanks,
>>
>> Eliot
>>
>> ----
>> Eliot Kimber, Owner
>> Contrext, LLC
>> http://contrext.com
>>
>>
>>
>> _______________________________________________
>> talk at x-query.com
>> http://x-query.com/mailman/listinfo/talk
>
>




More information about the talk mailing list