xml.DomNode.getAttributeNS

Returns the value of a namespace qualified XML Attribute for an XML Element DomNode object

Syntax

getAttributeNS(
   name STRING,
   ns STRING )
  RETURNS STRING
  1. name defines the name.
  2. ns defines the namespace URI of the XML Attribute to retrieve

Usage

Returns the value of a namespace qualified XML Attribute for this XML Element xml.DomNode object, where name is the name and ns is the namespace URI 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. 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).