om.SaxAttributes.getName

Returns the name of an attribute by position.

Syntax

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

Usage

The getName() method returns the name 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.getName(3)

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