I\'m looking for some basic instructions on how to implement an XSLT sheet to transform my XML (Word Template) into an XSL-FO (PDF) template. I\'m having trouble finding an
Take a look at WordML2FO stylesheets here. Excerpt from the page:
These stylesheets were prepared by RenderX's development team and Microsoft for general use. They are used to convert documents in Microsoft's WordprocessingML XML vocabulary into documents in the W3C's XSL FO (XSLFO) vocabulary. These generic stylesheets produce XSL FO (XSLFO) suitable for RenderX XEP Engine.
Download link
The overall process is as follows:
MSDN: Transforming Word Documents into the XSL-FO Format provides with greater details.
This seems to struggle when I convert a pdf to docx or doc then try to save that as fo. Works fine for original docx or doc files.