elementSetAttributeNodeNull
NIST
The "setAttributeNode(newAttr)" method returns the
null value if no previously existing Attr node with the
same name was replaced.
Retrieve the last child of the third employee and add a
new attribute to it. The new attribute node added is
"district", which is not part of this Element. The
method should return the null value.
This test uses the "createAttribute(name)"
method from the Document interface.
Mary Brady
2001-08-17