MainModule

Obligatory XQuery module with query body.


Syntax

MainModule

graphics/MainModule.png

Prolog ExprSequence UpdateSequence

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.

Related Syntax Construct

The following construct(s) refer to this construct:

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

LibraryModule