XMLCOMMENT()

Scalar. Appends a comment to an xml element being constructed with XMLELEMENT().

Description

Scalar. Appends a comment to an XML element being constructed with XMLELEMENT().

Syntax

XMLCOMMENT( comment )
Parameter

comment

The comment.

Data Types

Return

comment

XML

String

See Also

Example

The following example shows a comment node being inserted during the construction of an XML element:

INSERT INTO OutStream
SELECT XMLELEMENT("billing",
   XMLCOMMENT('put your comment here'),
   'some value',
   XMLELEMENT("done"))
FROM Billing;
...