Is there any way to convert word documents generated by Freemaker into standard word documents?

the word document generated by Freemaker is actually a xml file. How to convert this xml file into a standard word document

when using POI to convert word to Html, it is found that the word generated by Freemaker cannot be converted because the converted word is a xml file

search on the Internet, but no relevant information was found

Jun.12,2021

classmate, why do you need to convert to word, and then to HTML

use FreeMarker to generate word files so that you don't have to manipulate POI's annoying API, and now you use POI, again. I think you may have taken a detour

.

you can generate HTML directly, so the whole process of file generation is very clear through FreeMarker,.

Menu