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?