Export the settings to new module

Iam writing a plugin, i have setings page for my plugin, I want to have a export button in the settings page, when i click on the export button i want to export the settings in the xml format ( i have similar functionality in eclipse, there i export it to a new project in the same workspace). Herein this case where should i create the xml file, can i create a new module in the same project and create xml file in that module, how can i do that please help.

Please sign in to leave a comment.