Import functions in Xquery file

is it possible to import a file containing XQuery fonctions in a XQuery file? how?

XQuery includes an “import module” directive to achieve this. But it is quite a recent addition to the language, and is not yet implemented in many products. (Saxon 7.8, however, provides this feature).

Michael Kay

From the command line, quip.exe supports (a kind of) include with its “-include file” option. As Mike points out, this necessarily is non-standard, as Quip implements the April 2002 draft (and that with both omissions and additions).