om.DomNode.getAttributeName
Returns the name of a DOM node attribute by position.
Syntax
getAttributeName(
   index INTEGER )
  RETURNS STRING - index is the index of the attribute, starts at 1.
 
Usage
The getAttributeName() method
returns the name 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.
Example
DEFINE node om.DomNode
...
DISPLAY node.getAttributeName(12)
For a complete example, see Example 2: Displaying a DOM tree recursively.