Returns an array of QName objects produced from all values associated with
the specified attribute of the specified element so as each attribute's value
is converted to a QName object (the detailed representation of an XML name; see below)
according to the rules described in toQName()
function.
In the case of a single-value attribute, the function returns a single-element array containing the attribute's converted value.
Parameters:
element
The element whose attribute is requested. If not specified, the
generator context element is assumed, i.e. the same as the call:
getAttrQNameValues(contextElement, attrName)
attrName
The attribute name.
Returns:
The array of QName objects produced from all values associated with the found attribute.If the element contains no attribute with the specified name (or in the case
element == null
), an empty array is returned.
See Also:
Generator Object Model | Object Types | QName;
getAttrValues(), toQName(), GOMAttribute.values
${include ../../../refs/qname_type_heading.htm}
${include ../../../gom/QName/doc.htm}