Prologs

The prolog consists of a declaration that defines the processing environment for an XQuery expression. A declaration in the prolog is followed by a semicolon (;). The prolog is an optional part of the XQuery expression.

The prolog can contain zero or one boundary space declaration, zero or one copy namespaces declaration, zero or more namespace declarations, and zero or one default namespace declaration.