hi tomasz i quickly ran your test code . here's the output:
Hierarchy in workspace_1 Node name = [node]; node path = [/node] Node name = [child]; node path = [/node/child] Node name = [child]; node path = [/node/child[2]] Node name = [child]; node path = [/node/child[3]] Node name = [child]; node path = [/node/child[4]] Hierarchy in workspace_2 Node name = [node]; node path = [/node] Node name = [child]; node path = [/node/child] Node name = [child]; node path = [/node/child[2]] Node name = [child]; node path = [/node/child[3]] Subtree cloned; root node = [node] Hierarchy in workspace_2 aftert one more clonning Node name = [node]; node path = [/node] Node name = [child]; node path = [/node/child] Node name = [child]; node path = [/node/child[2]] Node name = [child]; node path = [/node/child[3]] Node name = [child]; node path = [/node/child[4]] ==> as you can see, everything's as it should be. cheers stefan