How do I add (or insert) a node into an XML document with JSTL?
Sorry for double posting, as I am not sure whether this question should go to the Java or XML group, and it is urgent for me. I normally only post to one group. OK, here is my question.
I am trying to use JSTL to store some data from a form into XML. However, I have read many articles in JSTL and only found that it can only be, as far as those articles are concerned, used to "read" data from XML files, but not "write" to them.
Am I missing something in JSTL? Or, if I want to write to an XML file (e.g., insert a new node, or modify a node's data), will I have to write my own bean and then use <c:usebean />?