Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

ElementNameOrFunctionCall

Represent an element or call a function.


Syntax

ElementNameOrFunctionCall

graphics/ElementNameOrFunctionCall.png

QName Expr

Top of page

Description

An ElementNameOrFunctionCall consists of a QName that may be followed by a list of comma-separated expressions encloses in parentheses. If it only consists of a QName, then it represents an element name. Otherwise it is a function call.

In case of a function call, each argument is evaluated. The resulting value is converted to the declared type of the corresponding function parameter as described in the section Data Types of the XQuery 4 User Guide. The function is then executed using the converted argument values. The return value is converted to the type declared as the return type of that function.

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page