xml.DomNodeList.getItem

Returns the DomNode object at a given position in a DomNodeList object.

Syntax

getItem(
   pos INTEGER)
  RETURNING object xml.DomNode
  1. pos is the position of the DomNode object to return (index starts at 1).

Usage

Returns the DomNode object at the given position in this DomNodeList object, where pos is the position of the DomNode object to return (Index starts at 1).

Returns NULL when no DomNode object is at the given position.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.