CXML-APPEND-COMMENT

Syntax:

CALL "C$XML" USING CXML-APPEND-COMMENT, handle, data, len

Parameters:

CXML-APPEND-COMMENT Op-code 31. Numeric data item that specifies the operation to perform. Each operation is defined in acucobol.def, which is included with your system.
handle USAGE handle
data Literal or pic x(n)
len

Optional

Numeric Literal or pic x(n)

On Entry:

CXML-APPEND-COMMENT Value 31
handle An element handle or a parser handle.
len (Optional) The length of the comment.

On Exit:

RETURN-CODE 0 if an error has occurred. The return code is positive if everything went correctly.

Comments:

Note that comments are associated with the element that follows them, as in:

<!-- comment assoc with elem-1-->
<elem-1>data for elem1 </elem-1>