om.NodeList.getLength

Returns the number of elements in the node list.

Syntax

getLength()
  RETURNING result INTEGER
  1. node is a reference to a node.

Usage

The getLength() method returns the size of the node list.

Query for node list for elements with the item() method, in the range 1 to getLength().

Example

DEFINE list om.NodeList
...
DISPLAY list.getLength()