Programmer's Guide > Interfaces > W3C Document interface > getElementsByTagNameNS method
  
getElementsByTagNameNS method
Returns a NodeList of all the Elements with a given local name and namespace URI in the order in which they are encountered in a preorder traversal of the Document tree.
getElementsByTagNameNS(namespaceURI, localName )
Parameters
StringnamespaceURI
The namespace URI of the elements to match on. The special value "*" matches all namespaces.
StringlocalName
The local name of the elements to match on. The special value "*" matches all local names.
Returns
NodeList. A new NodeList object containing all the matched Elements.