I'm implementing the exit strategy for a web app so a user can export all his data from the service and move on.
I've seen some apps provide a way to do this via an API, a XML file.. even a dump from the DB.
If you were to export your data from a web app what would you prefer?
note: the app is an enterprise-level CRM solution.
You can hack up a quick library (or find one online) that will take the output of a query and output in the selected format.
Not sure what framework/language you are using but, something like this can be very easily done using PHPs inbuilt functions (ie: get from db and store in array..then output array as XML or JSON etc...).