documentimportnode04
IBM
The importNode method imports a node from another document to this document.
The returned node has no parent; (parentNode is null). The source node is not
altered or removed from the original document but a new copy of the source node
is created.
Using the method importNode with deep=true, import the default Attribute attribute,
"defaultAttr" of the second element node whose namespaceURI="http://www.nist.gov" and
localName="defaultAttr", into a new document.
Check the parentNode, nodeName, nodeType and nodeValue of the imported node to
verify if it has been imported correctly.
Neil Delima
2002-04-30