From: Efraim F. <efr...@gm...> - 2011-10-24 15:26:25
|
Hi, Now that I have a workaround on my build issue, I was able to try my toy query on an updated trunk. Given the same t.xml as below, the query returns the incorrect order for the in-database sequence and the correct document order for the in-memory sequence 2: xquery version "1.0"; reverse(doc("/db/t.xml")/a/*)/., (: [1] :) let $a := document{ (: [2] :) <a> <b/> <c/> <d/> </a>} return reverse($a/a/*)/. On 10/23/2011 02:31 PM, Efraim Feinstein wrote: > > Given the following document (/db/t.xml): > <a> > <b/> > <c/> > <d/> > </a> > -- --- Efraim Feinstein Lead Developer Open Siddur Project http://opensiddur.net http://wiki.jewishliturgy.org |