Web server address - N NamedNodeMap.removeNamedItem() (Method) NamedNodeMap.removeNamedItem() (Method) Given that
Monday, December 31st, 2007N NamedNodeMap.removeNamedItem() (Method) NamedNodeMap.removeNamedItem() (Method) Given that you know the name of an item, you can locate and remove it from the collection. If necessary, the item is replaced by another containing the default attribute settings. Availability: Property/method value type: JavaScript syntax: Argument list: The value returned is a reference to the node that was removed. The same rules used for the getNamedItem() method apply. If no item is found then a null is returned instead. Multiple matching nodes may result in unpredictable and implementation-specific results. If this node is not referred to by any other means and you do not assign the value to a variable, then the node will become detached and no longer has an owner. You will have no way to locate that node again without reconstructing the document. The object representing the node should in due course be garbage-collected automatically. NamedNodeMap.setNamedItem() (Method) A node is added to the collection having the specified node name. Any node already present with that name will be replaced. Availability: DOM level 1 JavaScript 1.5 JScript 5.0 Internet Explorer 5.0 Netscape 6.0 Node object -myNamedNodeMap.removeNamedItem(aName) aName An associative array reference DOM level 1 JavaScript 1.5 JScript 5.0 Internet Explorer 5.0 Netscape 6.0 Node object -myNamedNodeMap.setNamedItem(aNode) aNode The node to be set Property/method value type: JavaScript syntax: Argument list: If a replacement happens, the old node that occupied the same position in the document and which was displaced by the new node will be returned as a result of this method call. If you need to access that node again, you must make sure a reference to it is retained otherwise you will need to reconstruct the document from scratch to manufacture another. 1481