NTT DATA Interview Question

Write a program to append one file to another file and convert it into xml code.