How can I convert convert docx or wordml xml files to xsl-fo?

Posted by Jon Pastore on Stack Overflow See other posts from Stack Overflow or by Jon Pastore
Published on 2008-12-19T04:59:22Z Indexed on 2010/05/04 0:08 UTC
Read the original article Hit count: 386

Filed under:
|
|
|
|

I've been looking for a method to convert docx or wordml xml to xsl-fo.

I read this post:

http://stackoverflow.com/questions/156683/what-is-the-best-xslt-engine-for-perl

but I'm having exceptional problems getting apache-fop going.

I was able to download the bins and run it locally but the formatting was a little off and it didn't maintain the headers and footers or section 1 or section 3 (17 page doc 3 sections)

it also overlapped the text over the outline numbers and did not maintain the font used.

trying a more simple test caused fop to fail completely.

I would like to find a way to create a PDF that is at least close to 100% accurate reproduction of the original doc.

© Stack Overflow or respective owner

Related posts about xsl

Related posts about Xml