XML, XHTML, PDFs, and PHP (oh my!)
I'm starting to pick up on XML, and would like to give myself an assignment. I'd like some opinions on what I want to accomplish, viewpoints on difficulty, practicality, feasibility, or any suggestions that could be alternatives (geez, wishy-washy, ain't I? ;))
Right now my work-in-progress website is delivered by PHP and coded as XHTML1.0 (transitional). All the layout is CSS so content is sufficiently separated from presentation. The only dynamic page (uses MySql) is some news. Now, here's what I'd like to do.
1) Save my page content as XML
2) Deliver valid XHTML to the web
3) Provide a 'Get this page as a PDF' link on every page.
4) Serve that PDF using FOP or similar