xml.DomNode.getAttribute

Returns the value of a XML Attribute for an xml.DomNode object

Syntax

getAttribute(
   name STRING )
  RETURNS STRING
  1. name defines the name of the XML attribute to retrieve.

Usage

Returns the value of a XML Attribute for this XML Element xml.DomNode object, where name is the name of the XML attribute to retrieve.

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