File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply 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: 12268
    
    1
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


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem in modification of the value in xml file
 
Similar Threads
how to do modification in XML file
Java code to append data into a existing xml file
modification problem(modifying at the end)
problem in deleting the file
Help regarding how to check the element entered is equal or not in xml file