xml -> html -> pdf
Ok, I hope somebody can at least tell me where to get started on this project..
I need to build a website that will be 10 - 15 static pages. One of the requirements is that all the pages will need to be presented in html as well as pdf, in a brochure like format for printing.
I have been reading a little about customizing pdfs using the FDF format with PHP and I think something along this line is what I need.
What I want to do is write the content into an xml file, that can then be translated into HTML or pdf dynamically. I am very new to xml and php, though i have a decent bit of experience with perl.
So i have a few questions..
Can this be done? I'm pretty sure it can, but I'd like a second opinion.
Is it worth it to do it this way?
Anybody already have a good resource that touches on this?
Any other direction / info would be helpful.