How to convert xml file to pdf file

Links for php scripts

Moderators: egami, macek, gesf

Post Reply

Sat Mar 25, 2006 3:33 am

Hi Friends,

Is there any possiblity to convert XML file to PDF file(Report) using PHP.
If yes,Please explain me the mechanism with a sample example.

(For example ,XML file contains data like student ID,name,marks and grade etc.Now i need this information in as a report in PDF format.)

Thanks in advance.


User avatar
New php-forum User
New php-forum User
Posts: 156
Joined: Wed Mar 22, 2006 2:22 am
Location: Ahmedabad, Gujarat, India

Sun Mar 26, 2006 9:30 am


You should use fpdf functionality to create pdf file runtime.
Source Link :

you have to develop the array of xml file and just pass it as argument.
This will create PDF file. I think example is given their.

Mukesh Variya
Zend Framework and Offshore Web Developer Ahmedabad Gujarat India
Customize Application Development Ahmedabad Gujarat India
2 PR Blog Link Exchange with my blog

Post Reply