getNamedItemNS

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

MDN Reference