Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : WRITE-COMMENT( ) method
 

WRITE-COMMENT( ) method

Adds a comment to the XML document represented by a SAX-writer object.
Return type: LOGICAL
Applies to: SAX-writer object handle

Syntax

WRITE-COMMENT ( value )
value
A CHARACTER or LONGCHAR expression evaluating to the text of the comment.
Call this method to add a comment node to the XML document. You can add comments at any time. The SAX-writer object creates the comment by enclosing the CHARACTER expression in open and close comment markers (<!-- and --!>). For example, with value set to "This is a comment", this method creates the following comment line:
<!-- This is a comment --!>