SetAttributeValue - cXMLDOMElement
Creates/Replaces and sets an attribute value
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sName | String | Attribute Name |
| sValue | String | Attribute Value |
Syntax
Procedure SetAttributeValue String sName String sValue
Call Example
Send SetAttributeValue sName sValue
Description
SetAttributeValue sets an attribute name and value node within an element. If the attribute name already exists, the value is replaced. If the attribute name does not exist a new attribute node is created.
Send SetAttributeValue of hoElement "Type" "Customer"