xml.DomNode.setAttributeNodeNS

Sets (or resets) a namespace-qualified XML Attribute DomNode object to an XML Element DomNode object.

Syntax

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

Usage

Use this method to set (or reset) a namespace-qualified 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).