you would need to hand code creating the XML file on form submit
i found a few examples through google on the stack overflow site:
http://stackoverflow.com/questions/2038535/php-create-new-xml-file-and-write-data-to-it
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.