getAttributeNS

fun getAttributeNS(namespace: String?, localName: String): String?(source)

The getAttributeNS() method of the Element interface returns the string value of the attribute with the specified namespace and name.

MDN Reference