I think you need to clarify the scenario here, where is the xml file located, and what do you need to do with the csv file ?Do you want to convert the xml file to csv on the fly ?Please mention your TS and OS versions of the server and client.
The XML file is located on the teamsite server and we need to provide an option to the end user, so that the s/he can download the file on his/her local drive.No, the file is already in the format of CSV and we are working on TS 6.1 on solaris.