Comment Event
Fired when a comment section is encountered.
Syntax
ANSI (Cross Platform) virtual int FireComment(XMLCommentEventParams *e);
typedef struct {
const char *Text; int reserved; } XMLCommentEventParams; Unicode (Windows) virtual INT FireComment(XMLCommentEventParams *e);
typedef struct {
LPCWSTR Text; INT reserved; } XMLCommentEventParams;
- (void)onComment:(NSString*)text;
#define EID_XML_COMMENT 2 virtual INT IPWORKS_CALL FireComment(LPSTR &lpszText);
Remarks
The Comment event is fired whenever a comment section (<!-- ..text... -->) is found in the document.
The full text of the comment is provided by the Text parameter.