namednodemapgetnameditemns04
IBM
The method getNamedItemNS retrieves a node specified by local name and namespace URI.
Retreive the second address element node having localName=adrress.
Create a new attribute node having the same name as an existing node but different namespaceURI
and add it to this element. Using the getNamedItemNS retreive the newly created attribute
node from a nodemap of attributes of the retreive element node.
Verify if the attr node has been retreived successfully by checking its nodeName atttribute.
Neil Delima
2002-04-28