Hi, I have an XML file, eg.
<cd>
<name>a</name>
<name>b</name>
...
</cd>
my
jsp page want to list all the cd names. Before each name, there will be a checkbox to let user select.
After select, user click save button, then modify the XML by adding an attribute to each <name> element to indicate whether selected.
How can I do this? My current thought is to parse the XML, and find out all the names first before come into this page. Then display all the names. After submit, modify the XML accordingly. Is there any other way to do it?
Thanks.
[ January 25, 2005: Message edited by: Howie Jiang ]