What is the best way to take the user input from an HTML form and convert it to an XML file that will be saved on the server? I suppose I could just write a file output stream but I'd like the XML document to be formatted nicley. I've got a Java Server (Resin) to work with. Thanks, Drew