I need to generate an XML file using JDOM. I have the XML elements in a Hashtable. Is there a good example or sample code available ? The samples dir does have some files, but it is not clear what it does. If somebody can send me a simple file that shows how to generate XML file.