|
|||||
operator | number of attributes | ||||
Related Syntax | Related Concepts |
Summary |
Numeric
The number of attributes for an element. |
number of specified? attributes element-qualifier*
An operator that returns the number of attributes declared for an element.
For example, in the following code number of
is applied to attributes
to determine the number of attributes declared for an element and that element's parent element:
... output "Element %q has " || number of attributes || " attributes(s).%n" || "Element %q's parent has " || number of attributes of parent || " attribute(s).%n"
Related Syntax number of |
Related Concepts Attributes: list-valued |
---- |