xml.DomNode.getAttributeNodeItem

Returns the XML Attribute DomNode object at a given position on this XML Element DomNode object.

Syntax

getAttributeNodeItem(
   pos INTEGER )
  RETURNING object xml.DomNode
  1. pos is the position of the node to return.

Usage

Returns the XML Attribute DomNode object at a given position on this XML Element DomNode object, where pos is the position of the node to return (Index starts at 1).

Returns the XML Attribute DomNode object at the given position, 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).