Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XML
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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?
Reply With Quote
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
Reply With Quote
  #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 .
Reply With Quote
  #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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:12 AM.


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