Creating a Document Using JDOM
import org.jdom.Document; import org.jdom.Element; public class MainClass { public static void main(String args[]) { Document doc = new Document(new Element("games")); } }