Hi All, In my java-jsp application, I am displaying xml file on the browser as html rendering using CSS. Now I want to make change in data(content) of few predefined tags(fields). And again save this xml(html to xml) file. So how to make this editable...??? How to transform html to xml and save...?? Pl. help. Thanks in advance. Sandeep Oza
Thank you Lasse. My xml file is very large having lot of tags with attributes... I want to display it as user friendly.. In TextArea, it will not get displayed properly and second thing is that, the user who modify it..is not technical. If he change any tags... or delete any tags... anything.. then xml will not parse...I want to display some predefined fields, whose data(content) can be change .. not the tag also. Else for smaller file your approach is the best. Sandeep Oza
Since you have to vary only a set of elements value of the whole big xml file. You can provide a small user interface(form based) to the user to edit the existing data, update the xml upon submit click. Since you are using CSS encoding within XML, you can just use a jsp/servlet to read and write the xml file to the PrintWriter, which shd automatically show the HTML on the browser.