om.SaxAttributes.getValueByIndex

Returns an attribute value by position.

Syntax

getValueByIndex(
   index INTEGER )
  RETURNS STRING
  1. index is the position of the attribute in the list.

Usage

The getValueByIndex() method returns the value of the attribute at the specified ordinal position in the list.

If the attribute does not exist at the given position, the method returns NULL.

Example

DEFINE attrs om.SaxAttributes
...
DISPLAY attrs.getValueByIndex(3)

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