om.DomNode.getAttribute

Returns the value of a DOM node attribute.

Syntax

getAttribute(
   name STRING )
  RETURNING result STRING
  1. name is the name of the attribute.

Usage

The getAttribute() method returns the value of the attribute passed as parameter, as defined in the current node.

DOM node attribute names are case-sensitive.

If the attribute does not exist for this node type, or if the attribute is not set, the method returns NULL.

DEFINE node om.DomNode
...
DISPLAY node.getAttribute("name")