Container for collections of nodes, accessible by name. (Note that, although the item method takes an integer, there is no implied ordering within the collection.) Items in the collection are "live" (effectively references to objects rather than copies of objects).
Specifies the range of valid index values for the item method (zero to length-1).
Returns the node with the given name or null if not found.
Introduced in DOM Level 2. Do a feature check for "XML" before blithely using this method. Returns the node with the given namespaceURI and localName or null if not found.
Returns the indexth item from the collection (or null if out of range).
Removes the node with the given name. The node is returned.
The exceptions thrown are:
Introduced in DOM Level 2. Removes the node with the given namespaceURI and localName. The node is returned.
If a node with a nodeName value matching arg.nodeName already exists in the map, it is removed and returned. Otherwise, null is returned. arg is then inserted into the map.
Introduced in DOM Level 2. If a node with namespaceURI and localName values matching arg.namespaceURI and arg.localName already exists in the map, it is removed and returned. Otherwise, null is returned. arg is then inserted into the map.
Log in or register to write something here or to contact authors.
Lost password
Sign Up
Need help? accounthelp@everything2.com