The Element.getElementsByTagNameNS() method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace.
Element.getElementsByTagNameNS()
MDN Reference
The
Element.getElementsByTagNameNS()method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace.MDN Reference