This function works as a shortcut of one of the calls:
getAttrValue(element, attrName).toQName()
or
getAttrValue(attrName).toQName()

Parameters:

element

The element whose attribute is requested. If not specified, the generator context element is assumed, i.e. the same as the call: getAttrQNameValue(contextElement, attrName)
attrName
The attribute name.

Returns:

The QName object, which represents the qualified name specified in the attribute value;
null if the element has no attribute with the specified name or the attribute value is an empty (blank) string.

See Also:

Generator Object Model | Object Types | QName; getAttrFirstValue(), toQName(), getAttrQNameValues()

${include ../../../refs/qname_type_heading.htm}

${include ../../../gom/QName/doc.htm}