I wrote a few lines of code to copy all the ndoes from one xml document to another and it was working fine on VB6. But when I tried to write the same code with a few modifications dealing with datatypes and a few methods, everything is working fine execpt for the appendChild line where I assign the new cloned node. It gives me an error that the node being appended belongs to another xml document. I am really out of ideas solving it. I would really appreciate if anybody could help. Thanks
