This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes problem in modification of  the value in xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "problem in modification of  the value in xml file" Watch "problem in modification of  the value in xml file" New topic
Author

problem in modification of the value in xml file

madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
hi,
i developed Xml File using DOM..if user enter the values for modifcation it is modifying at the end of Xml file..but i need is what ever value the user enters it should search that value in Xml file and do modifications can any one help me out..here is my code..

modify.jsp



if user enters the 'Pack Name'..in the modify.jsp form..it goes to 'modify.java'..here is the code...can anyone check the code and help me out..

modify.java



waiting for the reply,
madhu.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
If this was my problem I would put System.out.println statements at every point where the DOM is supposed to be modified, showing the value being modified.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in modification of the value in xml file
 
Similar Threads
modification problem(modifying at the end)
problem in deleting the file
how to do modification in XML file
Help regarding how to check the element entered is equal or not in xml file
Java code to append data into a existing xml file