[xquery-talk] How to Reverse an Array

Eliot Kimber ekimber at contrext.com
Fri Jul 17 06:26:50 PDT 2015


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





More information about the talk mailing list