I'm trying to "import module" to import a module into my xquery file. I'm using camel-saxon to startup a xquery endpoint:
Camel loads the initial xquery file from the classpath (the xquery files are inside the jar), the import inside books.xq looks like this:
import module namespace utils = "myutils" at "utils.xq";
unfortunately it does not know to look in the same directory inside the jar that the main xquery file was loaded from. Is there anyway i can use the classpath on the import? For example:
import module namespace utils = "myutils" at "classpath:/com/test/xquery/utils.xq";
How would i import an xquery file that lives inside the jar?