Hi, I have a servlet that handles a form action from a JSP file. What I want to do is to create (update - append) an XML document using the form values. Does anyone know how to do it? is there any open source class that I can use? thanks
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
For XML creation I have a simple XMLWriter class that I developed myself. For more complex import/export, there's the Castor beans classes (http://www.castor.org). Also the latest reference implementation at http://xml.apache.org (xerces) adds a writer capability to the DOM model.
An IDE is no substitute for an Intelligent Developer.
Joined: Nov 27, 2001
thanks Tim. Satish, I haven't found anything besides what Tim suggested. I was thinking of using. PrintWriter outFile=new PrintWriter (new FileWriter.... For the time being, I only need to store the info, so I think this should work cheers