XSLT - XML (Word) to XSL-FO (PDF)

后端 未结 2 1425
Happy的楠姐
Happy的楠姐 2021-01-03 12:08

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

2条回答
  •  庸人自扰
    2021-01-03 13:03

    • Download the Microsoft fo xslt files from Microsoft.
    • Open word document.
    • Perform a "save as".
    • Click more options.
    • Select Word 2003 XML document (*.xml). Click transform. Enter the
      path to the FO xslt in C:\Office
      Samples\OfficeWordWordMLtoXSL-FO\Word2FO.xsl.
    • Click Save.

    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.

提交回复
热议问题