.. highlightlang:: us .. _xml_setcommenthandler: XML_SetCommentHandler ===================== .. index:: XML_SetCommentHandler .. us.tag XML_SetCommentHandler NOTREADYENGLISH New330 XML Set a handler for comments. .. function:: bool = XML_SetCommentHandler(hParser, handler) .. us.return **Return Value** *bool*. .. us.params **Parameters** .. uparam:: hParser *hParser* is the handle of a parser. .. uparam:: handler *handler* is the name of a UniScript function with the following parameter list: :: def commentHandler(hParser, data) { } .. seealso:: :ref:`overview-xml` :sub:`id-1684191`