Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

CompCommentConstructor

Construct an XML comment by computing an expression.


Syntax

CompCommentConstructor

graphics/CompCommentConstructor.png

Expr

Top of page

Description

A CompCommentConstructor constructs an XML comment by computing the enclosed Expr. That expression is evaluated and, after atomization, converted into a sequence of atomic values each of which is cast into a string and concatenated with a space character between each pair of values. It is an error if the result of the expression after atomization contains two adjacent hyphens or if it ends with a hyphen.

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page