documentgetelementsbytagnameNS02
IBM
The method getElementsByTagNameNS 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.
Create a new element having a local name="employeeId" belonging to the namespace "test"
and append it to this document. Invoke the getElementsByTagNameNS method on a this
Document object with the values of namespaceURI=* and localName="elementId". This
should return a nodeList of 6 item. Check the length of the nodeList returned.
Neil Delima
2002-04-30