Language Reference Guide : System Classes : XMLElement Class : GetAttributeValue Method
 
Share this page          
GetAttributeValue Method
The GetAttributeValue method gets the value of the XMLAttribute of the given name in the Attributes list.
This method has the following syntax:
integer = XMLElement.GetAttributeValue(
          name = varchar(256),
          value = byref(varchar_variable))
This method has the following parameters:
name
(Required) Specifies the name of the XMLAttribute
value
(Required) Specifies the value of the XMLAttribute, which should be used BYREF
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.