p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   XML (http://p2p.wrox.com/forumdisplay.php?f=91)
-   -   Convert XML to PDF (http://p2p.wrox.com/showthread.php?t=99840)

mikewhite2018 April 14th, 2018 03:36 AM

Convert XML to PDF
Any recommendation to convert XML to PDF by programming. I mean online free converter can be used to convert XML to PDF but how should i do it via programming. Any leads?

Martin Honnen April 14th, 2018 04:12 AM

It depends on the XML format you have and your programming skill set, if you know XSLT and XSL-FO or are willing to learn them then you can use software like Saxon 9 and Apache FOP to transform any XML with Saxon to XSL-FO and then that intermediary format with Apache FOP to PDF. For some XML formats like DocBook or DITA there are existing XSLT stylesheets that do the job or can be adapted for a custom job.

George25 April 21st, 2018 09:08 AM

very good info thank you for sharing .

ellenwhite1009 September 17th, 2019 05:28 AM

Convert XML to pdf in Notepad
Browse for the XML file by clicking File->Open or pressing Ctrl+O
Click File->Print or press Ctrl+P to open the Printer window
Select novaPDF from the printers list and click Print
Select after saving actions if needed and click OK to convert the XML

All times are GMT -4. The time now is 03:26 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.