xml.DomNode.setAttributeNode

Sets (or resets) an XML Attribute DomNode object to an XML Element DomNode object.

Syntax

setAttributeNode(
   attr xml.DomNode )
  1. attr defines the XML Attribute DomNode object to set.

Usage

Use this method to set (or reset) an XML Attribute DomNode object to an XML Element DomNode object, where attr is the XML Attribute DomNode object to set.

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