From: Derek F. <fo...@hu...> - 2002-10-14 13:10:01
|
I have parsed two XML documents into 2 trees and I want to move a node (and its children) from a point in one tree to a point in the other. Cutting the required node out with "dom::node removeChild" is easy, but when I want to place it in it's new tree I get an error saying "new node must be in the same document". Well, OK, I was kind of expecting that. What do I need to do to make this cut/paste work as required? -- 2:05pm up 6:42, 1 user, load average: 0.00, 0.07, 0.07 |