Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

MainModule

Obligatory XQuery module with query body.


Syntax

MainModule

graphics/MainModule.png

Prolog ExprSequence UpdateSequence

Top of page

Description

A query must always consist of exactly one MainModule. A main module contains a prolog and the actual query body. While a main module cannot include other main modules it can import library modules by specifying them in import declarations in the prolog.

Top of page

Related Syntax Construct

The following construct(s) refer to this construct:

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

LibraryModule

Top of page