My program accesses 50 xml files one at a time, uses JAXP API and DOM parser to update each and puts the updated DOM into a new XML file. So, I will be left with 50 updated xml files. Its fine till now...
But what I want to accomplish is to have a SINGLE xml file as output instead of 50 different xml files.
i tried to append one dom to an other as a child element but it didnt work as we cannot append DOMs.
Is there any way to concatenate these XML files?
Any suggestion is greatly appreciated!