removeAttributeNS

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

Removes element's attribute whose namespace is namespace and local name is localName.

MDN Reference