xml.StaxReader.findAttributeValue

Returns the value of an XML attribute of a given name and/or namespace on the current XML node, or NULL.

Syntax

findAttributeValue(
   name STRING,
   ns STRING )
  RETURNING value STRING
  1. name is the name of the attribute to retrieve. It cannot be NULL.
  2. ns is the namespace URI of the attribute to retrieve, or NULL if the attribute is not namespace-qualified.

Usage

This method is only valid on a START_ELEMENT node.

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