I have to get data from the database and present it as a xml file? Please explain me, how to perform this task?