getElementsByTagNameNS

open external fun <T : Element> getElementsByTagNameNS(namespaceURI: TagNamespace<T>, localName: TagName<T>): HTMLCollection<T>(source)

The Element.getElementsByTagNameNS() method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS, except that its search is restricted to descendants of the specified element.

MDN Reference


open external fun getElementsByTagNameNS(namespace: String?, localName: String): HTMLCollection<Element>(source)