xml.DomNode.getAttribute

Returns the value of an XML Attribute for an XML Element DomNode object

Syntax

getAttribute(
   name STRING )
  RETURNING value STRING
  1. name is the name of the XML attribute to retrieve.

Usage

Returns the value of an XML Attribute for this XML Element DomNode object. where name is the name of the XML attribute to retrieve. Returns the XML Attribute value, or NULL.

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