namednodemapReturnNull
NIST
The "getNamedItem(name)" method returns null of the
specified name did not identify any node in the map.
Retrieve the second employee and create a NamedNodeMap
listing of the attributes of the last child. Once the
list is created an invocation of the "getNamedItem(name)"
method is done with name="district". This name does not
match any names in the list therefore the method should
return null.
Mary Brady
2001-08-17