Hi Marc,
sorry for letting you wait.
I try the -x -R flags on the basexclient, but with the -R flag I only receive the optimized query, not the plan.
I just tried it on command-line, and it seems to work as expected (see below). What version of BaseX are you working with? How does your command/line call look like, and what result would you expect?
Christian ___________________________
basexclient -Uadmin -Padmin -x -R "1+2"
Query plan: <QueryPlan> <Int value="3" type="xs:integer"/> </QueryPlan>
Query "Desktop" executed in 0.29 ms.