How can I edit the xml. Any need to use xml parser?
Yes, you will need to have the XML to be edited in memory as a DOM if you want to change the values and/or structure. This can get pretty tricky due to the characters that have special meaning in HTML pages and XML documents.
I think we have had related discussions here before, you might search the archives. My suggestion is that you first get really comfortable with reading in an XML document, modifying it and writing it back out in a desktop utility to avoid all the extra complexity of JSP. When you have that worked out move to JSP/servlets. Bill