::hwat::xml::GetAttributeValueByIndex - Retrieve the attribute value at a given index for a given attribute list.
::hwat::xml::GetAttributeValueByIndex str_attrList n_index
str_attrList |
The interlaced list of attribute names and values. |
n_index |
[optional] The index of the attribute of interest. If not given, defaults to index of 0. |
Value of attribute in list if successful, "{}" otherwise.
::hwat::xml::GetAttributeValueByIndex [list var1 0 var2 1 var3 2] 2
This can be a useful helper function for authoring your callbacks.