I am trying to create a xml having iterations. for example Employee would have name,designation,sal. I need to create a an xml for multiple employees. can you please give me suggestion. I am reading data from multiple xmls and writing into one xml. So I would have iterations of same element. Thanks in advance!
As you are able to read the XML files, you can get the information of each employee using xpath. After that, in the same loop (in which you would be processing the individual employee's XML file one by one), you can add code to add the same elements in the newly created XML file.
Can you please pin point, at which step you are facing a problem?