because some fragments of the nodeLeaf mustn't be copied (depending on the node value)
So I cannot make a deep clone of the leaf. I have to make a clone of nodeLeaf by myself. (Copying its child with a recursive function)
I have built a recursive function but I cannot understand why it doesn't work correclty (text values are skipped and also some pieces of the xml aren't copied correclty)
Anybody can give me a help ? thanks a lot Francesco