Skip to content

AttributeValue - BaseXmlDomElement

Gets and sets attributes in an element

Type: Property
Access: Read/Write
Data Type: String
Parameters: None

Parameters

Parameter Type Description
sName String The Attribute Name

Syntax

Property String AttributeValue
Access Type Syntax
Read Access: Get AttributeValue to StringVariable
Write Access: Set AttributeValue to StringVariable/Value

Description

AttributeValue is used to get and set attribute data in an element node. An attribute named sName with a value of sValue is set or retrieved.

AttributeValue is not namespace aware and should only be used with attributes with no namespaces (i.e., in the global namespace). If you need to create attributes with namespaces you can use AttributeValueNS and AddAttributeNS.