Skip to content

RemoveAttribute - cXMLDOMElement

Removes an attribute from an element node

Type: Procedure

Parameters

Parameter Type Description
sName String Attribute name to be removed

Syntax

Procedure RemoveAttribute String sName

Call Example

Send RemoveAttribute sName

Description

RemoveAttribute is not namespace aware and only works reliably for attributes with no namespaces and no prefixes. You should use RemoveAttributeNS in its place.

RemoveAttribute removes a named attribute from an element node.

Send RemoveAttribute of hoElement "Type"