Collects all values of the attribute with the specified name by all specified elements and returns the array of the collected values.

Parameters:

elements

The enumeration of elements, whose attribute value should be obtained
attrName
The attribute name
See Also:
collectValuesByLPath()