Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

LibraryModule

Provide XQuery fragment to other modules.


Syntax

LibraryModule

graphics/LibraryModule.png

ModuleDecl Pragma Prolog

Top of page

Description

A LibraryModule is one form of an XQuery module and contains XQuery code. It consists of a module declaration followed by a prolog which may be preceded by a pragma. In contrast to a main module a library module is not evaluated directly: it just provides the declarations of functions and variables which can later be imported into other modules. Especially it does not include a query body since that is reserved to the main module only.

Top of page

Related Syntax Construct

The following construct(s) refer to this construct:

This construct is also related to the following construct(s):

ElementConstructor

Top of page