namednodemapsetnameditemns04
IBM
The method setNamedItemNS adds a node using its namespaceURI and localName and
raises a WRONG_DOCUMENT_ERR if arg was created from a different document than the
one that created this map.
Retreieve the second element whose local name is address and its attribute into a named node map.
Create a new document and a new attribute node in it. Call the setNamedItemNS using the first
namedNodeMap and the new attribute node attribute of the new document. This should
raise a WRONG_DOCUMENT_ERR.
Neil Delima
2002-04-28