::hwat::xml::GetAttributeValueByIndex
Retrieve the attribute value at a given index for a given attribute list.
Syntax
::hwat::xml::GetAttributeValueByIndex str_attrList n_index
Arguments
- str_attrList
 - The interlaced list of attribute names and values.
 - n_index
 - The index of the attribute of interest. If not given, defaults to index of 0.
 
Returns
- Success
 - Value of attribute in list.
 - Failure
 - {}
 
Example
::hwat::xml::GetAttributeValueByIndex [list var1 0 var2 1 var3 2] 2
        Comments
This can be a useful helper function for authoring your callbacks.