i managed to successfully copy and paste into the xml file which i opened using notepad, i realize that everytime i want to use this code to update my xml file, the previous saved data will be in the file too.

for eg:
1st time that i execute the code, my file will read:
abcde

2nd time i execute. my file will read:
fghijk
abcde

is there any way to remove away the abcde? Thanks!