Language Reference Guide : System Classes : XMLElement Class : RemoveAttribute Method
 
Share this page          
RemoveAttribute Method
The RemoveAttribute method removes the XMLAttribute with the given name from the Attributes list.
This method has the following syntax:
integer = XMLElement.RemoveAttribute(
          name = varchar(256))
This method has the following parameters:
name
(Required) Specifies the name of the XMLAttribute
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.