hi All, In my application a template has to be created which should contain field headers and their respective field types - example field header LEVEL and field type COMBO BOX. Purpose is - a table will be created based on the fields in the template. Now I want to save this template as XML file with some predefined extension (like .templ). Later in my application i will retreive the saved template and use it to create table. How can i save the file as XML with some predefined extension. We are using Swing to create template. Please help me with sample programs to solve this problem. awaiting for your mail Thank you Regards MKumar