xml.DomDocument.getDocumentNodeItem

Returns the child DomNode object at a given position for this DomDocument object.

Syntax

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

Usage

Returns the child DomNode object at a given position for this DomDocument object where pos is the position of the node to return (Index starts at 1), or NULL.

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