java - docx4j convert docx in wrong html format -
i have problems docx4j samples. need convert file docx in html format , back. i'm try compile convertinxhtmldocument.java sample. html file creates fine, when trying convert docx, throws exception missing close tags (meta, img etc). has encountered problem?
xhtmlimporter requires input well-formed xml. need ensure don't have missing close tags (meta, img etc); if do, run jtidy or similar first.
docx4j's (x)html output can either html or xml. 3.0, property convert.out.html.outputmethodxml control which.
Comments
Post a Comment