I am testing one banking application in which one zip file will generate and inside that XML file is located with some tags and I need to add one tag inside XML, again zip the file and save it
Asked
Active
Viewed 84 times
0
-
1Check [How to add node to xml](http://stackoverflow.com/questions/27524697/how-to-add-node-a-structured-xml-at-particular-location-from-java) and [Unzip and zip using java](http://stackoverflow.com/questions/9324933/what-is-a-good-java-library-to-zip-unzip-files?rq=1) – Madhan Jul 26 '16 at 06:48
-
2what have u tried so far? where is the code? – Mrunal Gosar Jul 26 '16 at 06:58
-
Basically till now we did manually but now trying to Automate. Manual steps 1) open the zip file and put outside xml file 2) inside that xml add one tag at particular place and save and put again in zip and close zip and put in one different folder .. Here only I am getting stuck – rahul Jul 26 '16 at 07:16
-
Thanks Madhan I will apply your code – rahul Jul 26 '16 at 13:02