Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

PrimaryExpr

Basic XQuery primitive.


Syntax

PrimaryExpr

graphics/PrimaryExpr.png

Variable Literal ElementNameOrFunctionCall Wildcard KindTest ParenthesizedExpr

Top of page

Description

A PrimaryExpr is composed of the language primitives of XQuery. These include variables, literals, function calls, and parenthesized expressions.

Variables consist of a "$" prefix character and a variable name, which must be a QName. Literals are divided into string literals and some forms of numeric literals. An ElementNameOrFunctionCall either represents a simple element name, which is a QName or a call of a function defined in Tamino XQuery 4. Wildcard expressions and KindTest are used in the context of path expressions, while an expression that is enclosed in parentheses influences the precedence of the operators.

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page