Programmer's Guide > Interfaces > W3C NameList interface > containsNS method
  
containsNS method
Test if the pair namespaceURI/name is part of this NameList.
containsNS(namespaceURI, name)
Parameters
StringnamespaceURI
The namespace URI to look for.
Stringname
The name to look for.
Returns
booleantrue if the pair namespaceURI/name has been found, false otherwise.