xml.DomNode.setAttributeNode

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

Syntax

setAttributeNode(
   node xml.DomNode )
  1. node is the XML Attribute DomNode object to set.

Usage

Sets (or resets) an XML Attribute DomNode object to an XML Element DomNode object, where node 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).