getAttributeNodeNS

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

MDN Reference