Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    san marcos TX
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    xml -> html -> pdf

    I'm stuck here.. need some help.

    My client wants a website that dynamically displays in either html or pdf. my thought was to use xml for the page content, then have that translated on the fly to html or pdf.

    the problem is, i can't figure out how to create the pdf on the fly. I had been told to use xsl-fo and then an apache utility to convert the xml to pdf, but I need some more info to make this work.

    The site will be hosted on a shared hosting server, so my options for installing software packages will be limited.

    My other thought was to use the pdf lib php module.. the problem here is that not many hosts offer this feature, and my client is unwilling to pay the license fee..

    Does anybody know of a better way to accomplish this? (please include specific instructions / urls).. or alternatively, a good hosting company that offers pdf lib use?

    thanks in advance!

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    free PDF generation class , no modules required ...

    http://www.ros.co.nz/pdf/
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •