So I'm using a word docx template, and make a binding with repeat wit the authoring friendly addon.
So the XML sample I use can be something like:
- Code: Select all
(Mine is more complex, but for explanation, this one is enough)
And I bind the name on a table cell, and the table is repeated according to the person tag.
But once I bind this template with some real data (using bind method and FLAG_NONE, and the data contains several person tags), the data is only repeated as many times as there is person tags in my sample in Word.
i.e. If I give word a XML with 2 person for the binding definition (of course, only binding the 1st one) and a data to bind (in code) with 4 tags, I will only have 2 rows/table in my resulting word document. (I hope I am clear enough)
So, any idea to still give word a minimal XML template and on binding (in code), make all data correctly repeat?