aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to save as XML with some predefined extensions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to save as XML with some predefined extensions" Watch "how to save as XML with some predefined extensions" New topic
Author

how to save as XML with some predefined extensions

kumar m
Greenhorn

Joined: Aug 20, 2002
Posts: 13
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
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

You'll need some XML processing package like JDOM to read XML as anything other than text.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to save as XML with some predefined extensions