I'm generating many word documents using repeating sections, but I need every document with different datas (different xml files). I've made docx template and bound XML file with testing data. Now I'd like to rewrite XML file with new one, but in customXml folder, there are item1.xml, item2.xml, item3.xml and item4.xml. How can I found out IN PROGRAM, which file should I rewrite? (Of course, I can find the right file unzipping and opening the files, but I want to find it in my program, because first time item1.xml was the file with data, but second time it was item3.xml).
Thanks for all answers!