December 1999
Intermediate to advanced
992 pages
22h 3m
English
A NamedNodeMap is returned when the attributes attribute of the node interface is invoked. Although the items in a NamedNodeMap are indexed, this is for convenience. Unlike in a NodeList, the position of an item is not significant. Items in a named node map will usually be accessed by name.
As the names suggest, these methods retrieve, add, and remove the node of that name. SetNamedItem() requires a node object as an argument. The other two require a string as their argument.
This method returns the node object of that index.
Returns the length of the NamedNodeMap. Listing 15.9 is an example of ...
Read now
Unlock full access