Top-level XQuery syntax construct.
The following construct(s) refer to this construct:
An XQueryModule
is the top-level syntax construct in Tamino
XQuery. A module is a fragment of XQuery code which either contains a prolog
and the query body (main module) or it provides function and variable
declarations (library module) that can be imported by other modules.
Any query, even as simple as
input()
is formally a fragment of XQuery code. So it implies an XQuery main
module that has no query prolog, but a query body that reads
input()
.