xml.DomDocument.getDocumentNodeItem

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

Syntax

getDocumentNodeItem(
   index INTEGER )
  RETURNS xml.DomNode
  1. index defines the position of the node to return (index starts at 1).

Usage

Returns the child xml.DomNode object at a given position for this DomDocument object where index 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).