om.NodeList.item

Returns a DOM node element by position in the node list.

Syntax

item( index om.DomNode )
  RETURNING result om.DomNode
  1. idenx is the ordinal position of the node in the list.

Usage

The item() method returns the om.DomNode object at the position specified.

First element is at position 1.

If there is no element at the specified index, the method returns NULL.

DEFINE list om.NodeList,
       node om.DomNode
...
LET node = list.item(12)