xml.StaxReader.getAttributeLocalName

Returns the local name of a XML attribute defined at a given position on the current XML node, or NULL.

Syntax

getAttributeLocalName(
   index INTEGER )
  RETURNS STRING
  1. index defines the position of the attribute to return (index starts at 1).

Usage

Gets the local name of a XML attribute defined at index position on the current XML node. It returns the local name or NULL.

This method is only valid on a START_ELEMENT node.

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).