Characters Event

Fired for plain text segments of the input stream.

Syntax

ANSI (Cross Platform)
virtual int FireCharacters(XMLCharactersEventParams *e);
typedef struct {
const char *Text; int reserved; } XMLCharactersEventParams; Unicode (Windows) virtual INT FireCharacters(XMLCharactersEventParams *e);
typedef struct {
LPCWSTR Text; INT reserved; } XMLCharactersEventParams;
- (void)onCharacters:(NSString*)text;
#define EID_XML_CHARACTERS 1

virtual INT IPWORKS_CALL FireCharacters(LPSTR &lpszText);

Remarks

The Characters event provides the plain text content of the XML document (i.e. the text inside the tags). The text is provided through the Text parameter.

The text includes white space as well as end of line characters, except for ignorable whitespace which is fired through the IgnorableWhitespace event.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]