om.SaxAttributes.getValue

Returns the value of an attribute by name.

Syntax

getValue(
   name STRING )
  RETURNS STRING
  1. name is the name of an attribute.

Usage

The getValue() method returns the value of the attribute identified by the name passed as parameter.

If the attribute does not exist, the method returns NULL.

Example

DEFINE attrs om.SaxAttributes
...
DISPLAY attrs.getValue("name")

For a complete example, see Example 2: Creating a SAX attributes object.