modify script to export xml data into .csv/html/txt format
Posted on 2008-06-20
Can someone please assist me in making this script work to export xml data in different formats. At the moment it is only exporting data into .csv format.
I would like to have rest of the script independant to the format, I mean ideally I would want to create one function for each format, so that tomorrow if the client comes back and want some other export format I would only need to create another function without doing any more changes to the rest of the script.
Please can you look into the attached and see if this makes any sense to you.
Thanks for your help