kxml.gettext — Returns the text content of the current event as a string.
The kxml.gettext returns the text content of the current XML event as a string.
The value returned depends on current event type, for example for TEXT event it is element content (this is typical case when kxml.next is used). See description of kxml.nextToken for detailed description of possible returned values for different types of events.
In case of ENTITY_REF, this method returns the entity replacement text (or an empty string if not available).