profile_element_attr_tests
profile_element_attr_tests(alias, tagname, arr[, doc])
Returns the number of attribute name(s) and value(s) for the specified element that the specified profile can be applied to (if the not_indicator of profile_elements_list is 0) or not applied to (if not_indicator is 1).
• alias — The alias of the profile to be applied (or not applied).
• tagname — The element to be profiled (or not profiled).
• arr — An array of the attribute name(s) and value(s) for tagname that alias could be applied to or not applied to. profile_element_attr_tests returns the count of the array arr.
• doc — Optional. The identifier of the document tree. If doc is omitted or is 0, the current document is used.