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. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).