setAttributeNodeNS05
NIST
The "setAttributeNodeNS(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 first emp:address and attempt to set a new
attribute node. 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 "createAttributeNS(newAttr)" method
from the Document interface.
Mary Brady
2001-08-17