getAttributeNodeNS

open external fun getAttributeNodeNS(namespace: String?, localName: String): Attr?(source)

The getAttributeNodeNS() method of the Element interface returns the specified namespaced attribute of the specified element, as an Attr node. It returns null if the element doesn't have an attribute with the given name in the namespace.

MDN Reference