om.XmlReader.getCharacters

Returns the character data of the current processed element.

Syntax

getCharacters()
  RETURNS 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(),"'"
     ...

For a complete example, see Example 1: Parsing an XML file.