When you say "in my application", is this an XQuery application? I'm not clear what kind of application you want to make these functions available to.
Michael Kay

From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of timothymarc@freenet.de
Sent: 19 December 2007 14:17
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Including external library file automatically

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