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