This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
What's the best way to programmatically create an XML file from scratch, using data from a database and config files? What classes should I use? How should I approach the problem? We haven't set a firm DTD/XSD schema yet, so I won't be able to use either dtd's or xsd's to validate the structure. Thanks.