documentimportnode21 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, retreive the entity refs present in the second element node whose tagName is address and import these nodes into another document. Verify if the nodes have been imported correctly by checking the nodeNames of the imported nodes, since they are imported into a new document which doesnot have thes defined, the imported nodes should not have any children. Now import the entityRef nodes into the same document and verify if the nodes have been imported correctly by checking the nodeNames of the imported nodes, and by checking the value of the replacement text of the imported nodes. Neil Delima 2002-04-30