::hwat::xml::AttributeCount

Get the number of attribute for a given attribute list.

Syntax

::hwat::xml::AttributeCount str_attrList

Arguments

str_attrList
The interlaced list of attribute names and values.

Returns

Success
Number of attribute in list.
Failure
{}

Example

::hwat::xml::AttributeCount [list var1 0 var2 1 var3 2]

Comments

This can be a useful helper function for authoring your callbacks.