I would expect the corresponding Java code which produces the same result of the XQuery code. Isn't this what happens in the background?
Il giorno 03 nov 2016, alle ore 17:14, Christian Grün christian.gruen@gmail.com ha scritto:
Since BaseX is written in Java, I was wondering if ,given a XQuery script, one could get the corresponding "Java translation". Thanks!
I tend to say »no«; but maybe I need more information. How do you think could a Java translation of, let’s say, "for $x in 1 to 10 return /a/b/c[$x]" look like?