Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 14th, 2018, 03:36 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2018
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default 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?
The Following User Says Thank You to mikewhite2018 For This Useful Post:
  #2 (permalink)  
Old April 14th, 2018, 04:12 AM
Friend of Wrox
Points: 6,676, Level: 34
Points: 6,676, Level: 34 Points: 6,676, Level: 34 Points: 6,676, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2007
Location: Germany
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts
Default

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.
__________________
Martin Honnen
Microsoft MVP (XML, Data Platform Development) 2005/04 - 2013/03
My blog
  #3 (permalink)  
Old April 21st, 2018, 09:08 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2018
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default nice

very good info thank you for sharing .
  #4 (permalink)  
Old September 17th, 2019, 05:28 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2019
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink in PDF not working (XML to PDF using XSL-FO stylesheet) sidh.000 XSLT 0 September 30th, 2010 12:53 PM
Convert PDF to JPG harpua PHP How-To 1 September 17th, 2007 06:04 AM
convert aspx to pdf skansay Pro PHP 1 July 31st, 2007 10:01 AM
Convert Excel to PDF shivavalkyre Beginning VB 6 1 March 15th, 2007 03:44 PM
i would like convert msword to pdf pmwps Classic ASP Basics 2 September 6th, 2003 11:41 PM





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