removeAttributeNS

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

The removeAttributeNS() method of the Element interface removes the specified attribute with the specified namespace from an element.

MDN Reference