importNode() does not import attribute values
843834Jan 22 2002 — edited Jan 28 2002I want to import one part of xml document into another xml document. I use the Document.importNode() method to do this. Here's my code snippet:
Document newdoc = db.newDocument();
Node importedNode = newdoc.importNode(xmlnode,true);
But as the result the xml part is copied into importedNode, but attribute values are empty. What do I do wrong? I'm really lost, so thanks for ANY help.