xml.DomNode.removeAttribute

Removes an XML Attribute for an XML Element DomNode object.

Syntax

removeAttribute(
  name STRING )
  1. name defines the name of the XML attribute to remove.

Usage

Use this method to remove an XML Attribute for this XML Element DomNode object, where name is the name of the XML attribute to remove. Status is updated with an error code.

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