I have a DOM tree, and a node in it into which I need to copy another XML node.
The general examples advise to load the source as one more DOM tree, do a importNode.
The problem is performance.
I have a huge
string (depth-wise) and am looking for alternatives.
Any ideas?