SetAttributeValue - cXMLDOMElement

Creates/Replaces and sets an attribute value

Type: Procedure

Parameters: String sName String sValue

ParameterDescription
sNameAttribute Name
sValueAttribute Value


Syntax
Procedure SetAttributeValue String sName String sValue

Call: 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"