I'm using docx4j (in an open source project, https://github.com/isisaddons/isis-module-docx) to convert a Word .docx template file into a .docx. Using the docx4j API I have fashioned support for repeating data (tables and lists), and it works quite well.
However, the resultant .docx still has the original smart tags within it, albeit that their content is replaced with the text that I insert using the docx4j APIs.
My question is: ...