Ralf,
thanks for the observation. I've got some ideas how to fix it properly.
Getting back to you, Christian ________________________
On Thu, Sep 22, 2011 at 1:19 PM, Ralf Jung ralfjung-e@gmx.de wrote:
Hi list,
since my XQuery's share some common utility functions, I created a "global.xq" file to contain those functions, and the actual scripts import that file using
import module namespace red-db="red-db" at "global.xq";
However, BaseX then looks for that file in the working directory where it was started. Is there any way to configure that behaviour, e.g. to look into the HTTPPATH folder the script is located in, or maybe to make the lookup relative to the script that contains this command? Currently I always have to cd to the HTTPPATH folder before starting BaseX.
I am using the current git master version.
Kind regards, Ralf _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk