Skip to main content
Version: Next

SAX GET XML COMMENT

SAX GET XML COMMENT ( document ; comment )

ParameterTypeDescription
documentDocRef🡒Reference of open document
commentString🡘XML comment

Description

The SAX GET XML COMMENT command returns a comment if an XML Comment SAX event is generated in the XML document referenced in the document parameter. For more information about SAX events, refer to the description of the SAX Get XML node command.

System variables and sets

If the command has been executed correctly, the system variable OK is set to 1. Otherwise, it is set to 0 and an error is generated.

See also

SAX ADD XML COMMENT
SAX Get XML node