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