::hwat::xml::GetAttributeValueByName - Retrieve the attribute value by attribute name for a given attribute list.
::hwat::xml::GetAttributeValueByName str_attrList str_name
str_attrList |
The interlaced list of attribute names and values. |
str_name |
The name of the attribute of interest. |
Value of attribute in list if successful, "{}" otherwise.
::hwat::xml::GetAttributeValueByName [list var1 0 var2 1 var3 2] var3
This can be a useful helper function for authoring your callbacks.