Page 1 of 1

Docx to XHTML

PostPosted: Wed Jul 23, 2014 1:54 am
by Goutham Reddy
I have to convert a docx file generated using (docx4j) to XHTML. Can you please share the code/point me to the same for accomplishing this ?

Thanks,
Goutham

Re: Docx to XHTML

PostPosted: Wed Jul 23, 2014 9:01 am
by jason
Did you have trouble finding the answer to this question in the Getting Started guide, or via Google? If you didn't try those things, please do so before posting...

Anyway, see https://github.com/plutext/docx4j/blob/ ... tHtml.java

Note that you should have all of docx4j's dependencies on your classpath before running any of the docx4j samples.