This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I am using JDOM for manipulating my external XML file from within JSP. For retrieving information, it is working fine, but while modifying the Text of an element, it is not chaning the text , also it is not showing any error. I have used both SAXBuilder and DOMBuilder classes and tried to change the text of particular element like: Element nm = pt.getChild("name"); //where pt is the parent element of element "name" nm = nm.setText("New Name"); But its not changing the text of the element to "New Name". Can anyone help me? Thanx in advance
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
IMHO, you may be able to get a quicker response in the XML forum. Since we have JSPs involved, its seems okay in this forum also. regds. - satya