Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

ModuleDecl

Identify library module.


Syntax

ModuleDecl

graphics/ModuleDecl.png

NCName StringLiteral

Top of page

Description

A ModuleDecl identifies a module as a library module, since only library modules contain a module declaration. It contains the keyword module which is followed by a namespace declaration with the NCName specifying the namespace prefix and the string literal specifying the namespace URI that defines the target namespace of the library module. This namespace is used for all functions and variables exported by this module.

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page