om.XmlReader.getCharacters

Returns the character data of the current processed element.

Syntax

getCharacters()
  RETURNING result STRING

Usage

Use the getCharacters() method to get the character data of the current processed element, in the Characters event context.

Example

DEFINE r om.XmlReader,
       e STRING
   ...
   LET e = r.read()
   WHILE e IS NOT NULL
     CASE e 
       ...
       WHEN "Characters"
         DISPLAY "Characters:'",r.getCharacters(),"'"
     ...