number of attribute

operator

Return type:
Integer
Returns:
The number of tokens in an attribute.
Syntax
number of  attribute attribute-name (of element-expression)?
    


Purpose

The number of attribute operator returns the number of tokens in a list-valued attribute. When the attribute does not have a list-valued type, the test will always yield a value of one.

Related Syntax