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 with the appropriate error number.