Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

SequenceType

Specify the type of an XQuery value.


Syntax

SequenceType

graphics/SequenceType.png

ItemType

Top of page

Description

A SequenceType specifies the type of an XQuery value by identifying it either as an item type together with an occurrence indicator or as an empty sequence using empty(). An item type can be the qualified name or any of the node tests available in Tamino XQuery. Since a value is always a sequence, you can use an occurrence indicator specifying the number of items in the sequence:

Top of page

Examples

Some sequence types that you can use in XQuery expressions:

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page