Good morning to all,

i want to include some predefined xquery functions automatically in my application, so that it seems to be an built-in core function like the xpath-functions. Therefore, i've created a new package inside my application hierarchy called builtin and added the file lib.xquery to the package. In another package i have defined the saxon xquery engine to run some passed scripts.

So, what is currently the best practice to include this external function library to every xquery, which will be passed to the engine inside my app?

Thanks for any hints