Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
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
 
Old October 2nd, 2007, 09:50 AM
Authorized User
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML vs PDF

In an effort to convince my manager that XML is a better choice for electronic Books than PDF, I need some help.
Can anyone tell me any reasons you can think of for someone to choose XML over PDF?

Thanks.
 
Old October 2nd, 2007, 10:06 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

There's nothing wrong with PDF as a final delivery vehicle, but it's not a good format for maintaining your content assets, because you can never turn it into something else. Not even print on a different page size. How do you edit PDF to produce the next edition?

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old October 2nd, 2007, 08:49 PM
Authorized User
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default

this is interesting. do you suggest any resources I can find out more reason to use XML over PDF. I am trying to come up with 8-10 reasons.


 
Old October 3rd, 2007, 03:49 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

I'm sorry, this request for strategic advice strays into territory where I ask for consultancy fees. And I would never dream of putting forward a technical strategy for a business without knowing more about the business drivers.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old October 3rd, 2007, 03:57 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well you're not comparing like with like, one is a method of storing data, one is a presentational format. In our company we try to store our learning materials as XML, we then create different types of presentational data using transformational techniques, XSLT and others. These create PDFs, HTML pages, spreadsheets etc. The advantage of this is you can go from XML to PDF but the opposite way, except for trivial examples is nigh on impossible. So if you want flexibility choose XML, if you're just looking to store a user friendly presentation then PDF is one way to go.

--

Joe (Microsoft MVP - XML)
 
Old October 3rd, 2007, 05:20 AM
Authorized User
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Mike, to answer your question about business drivers, I am writing a sort of an executive summary. I have done my research on the web and compiled a list of reasons. I wanted to see what the Pros say about it before I move forward.
We are an educational provider for digital textbooks, and it seems we are losing a lots of business to PDF. Our digital content depends on XML.

Joe, that makes a lots of sense, however the XML content comes from PDF. The publishers supply us with PDF as the source files and we generate XML based on our DTD from that.

 
Old October 3rd, 2007, 08:27 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well if the PDFs are designed to have extractable XML then that's slightly different, it still seems a strange way of doing things though, akin to screen-scraping HTML pages versus web services, sometimes it's the only route but it's certainly not the easiet or most maintainable.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
XML to PDF using Jasper Report in JAVA shah_tejas_a J2EE 7 December 7th, 2011 01:43 AM
PDF to XML conversion bcogney XSLT 7 September 21st, 2011 06:27 AM
PDF and RTF from XML rajatake XML 2 March 28th, 2007 12:35 PM
XML to PDF aravind_4uin RSS and Atom 1 February 22nd, 2006 01:05 PM
xml + xsl:fo --> PDF Kabe Classic ASP XML 0 August 26th, 2004 06:17 AM





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