elementWrongDocumentErr NIST The "setAttributeNode(newAttr)" method raises an "WRONG_DOCUMENT_ERR DOMException if the "newAttr" was created from a different document than the one that created this document. Retrieve the last employee and attempt to set a new attribute node for its "employee" element. The new attribute was created from a document other than the one that created this element, therefore a WRONG_DOCUMENT_ERR DOMException should be raised. This test uses the "createAttribute(newAttr)" method from the Document interface. Mary Brady 2001-08-17