• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

XML:FO and PDF's

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there everyone,
Am I right in thinking that you have to use XML:FO in order to make PDF files out of xml files? If this is the case then can someone explain why you have to use this other technology instead of just using XSL.
For making HTML pages, I just use XSL, after all, it has been touted as the solution to all our presentation woes. But if this is the case, why then does pdf require this other technology, and what exactly does it do?
I havent been able to get a useful answer to this simple question yet.
I'm really hoping someone can help
Many thanks
Kind Regards
Simon
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Am I right in thinking that you have to use XML:FO in order to make PDF files out of xml files? If this is the case then can someone explain why you have to use this other technology instead of just using XSL.
For making HTML pages, I just use XSL, after all, it has been touted as the solution to all our presentation woes. But if this is the case, why then does pdf require this other technology, and what exactly does it do?


You don't have to use XSL:FO. It's just easier compared to writing your own XML-to-PDF conversion tool (whether it's based on an XSL stylesheet or just Java code parsing the XML). The reason why it's so difficult is the shear complexity of the PDF specification (e.g. font elements aren't that easy to play with).
 
Simon Harvey
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK,
Thanks for that
Simon
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic