documentrenamenode09
IBM
The method renameNode renames an existing node. When the specified node was created
from a different document than this document, a WRONG_DOCUMENT_ERR exception is thrown.
Invoke the renameNode method on a new Document node to rename a new attribute node
created in the original Document, but later adopted by this new document node. The
ownerDocument attribute of this attribute has now changed, such that the attribute node is considered to
be created from this new document node. Verify that no exception is thrown upon renaming and verify
the new nodeName of this attribute node.
Neil Delima
2002-06-10