 |
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
|
|
|

October 2nd, 2007, 09:50 AM
|
Authorized User
|
|
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

October 2nd, 2007, 10:06 AM
|
 |
Wrox Author
|
|
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
|
|
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
|

October 2nd, 2007, 08:49 PM
|
Authorized User
|
|
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

October 3rd, 2007, 03:49 AM
|
 |
Wrox Author
|
|
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
|
|
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
|

October 3rd, 2007, 03:57 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
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)
|

October 3rd, 2007, 05:20 AM
|
Authorized User
|
|
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

October 3rd, 2007, 08:27 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
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)
|
|
 |