Thanks snb.

But I actually need all child nodes within population to be selected in Test.xml and for this to be added before </data> in Test1.xml.

The reason why i cant read and insert all of Test.xml into Test1.xml (like in your example) is there will be other nodes in the future other and population added to Test.xml which I don't want to copy over into Test.xml.

Do you have any other suggestions?