There is an XML file. I need to read this file and in some line of code in XML (say 4)there is a file "file1.some". I need to change this to "file2.some". How to do this in java?
Reading and writing is just like I/O. The trick part is to read in the values from a XML file. There are many ways to do this. You can use Xerces, JDOM, JAXP.
Thank U for your reply. I just downloaded xerces.jar file, can you just tell me what to do next. From Java have to read a value from an XML file and write some other value. Can you please explain the steps. with thanks, gani.