documentimportnode20
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 a entity node ent4
from this document to a new document object. The replacement text of this entity is an element
node, a cdata node and a pi. Verify if the nodes have been
imported correctly by checking the nodeNames of the imported element node, the data for the
cdata nodes and the PItarget and PIData for the pi nodes.
Neil Delima
2002-04-30