HI I am trying to run and bind an xml to docx repeating row template. This works but when i try to bind the data to the content controls. It does not seem to be working. I tried inspecting the custom xml in the file that is updated correctly and if i dont remove SDT it works looking at it in Word. But if i remove SDT (which i need to do) it repeats the first row. Same story when I debug the actual JAXB tree in memory its only copying the first row.
I have tried using the other traversal option but no louck there either
below is line :
Docx4J.bind(doc, new FileInputStream(xmlInput), Docx4J.FLAG_BIND_INSERT_XML | Docx4J.FLAG_BIND_BIND_XML | Docx4J.FLAG_BIND_REMOVE_SDT);