om.DomNode.getAttributeValue

Returns the value of a DOM node attribute by position.

Syntax

getAttributeValue(
   index INTEGER )
  RETURNING result STRING
  1. index is the index of the attribute, starts at 1.

Usage

The getAttributeValue() method returns the value of an attribute by position in the current node.

DOM node attribute names are case-sensitive.

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

DEFINE node om.DomNode
...
DISPLAY node.getAttributeValue(12)