
September 14th, 2006, 10:59 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 25
|
|
|
XML/fo2pdf just stops
I am trying to use XML/fo2pdf to transform and xslfo to pdf. I am a php newbie.
The code I am using is:
1 <?php
2 include_once ("XML/fo2pdf.php");
3
4 $pdf = new XML_fo2pdf( );
5 $pdf->tmpdir = "_pdf";
6 $pdf->run("_pdf/simple.fo", "_pdf/simple.pdf");
7 $pdf->printPDF();
8 $pdf->deletePDF();
9
10 ?>
It gets to line 6 then stops without any errors or warning.
I have tried the runFromFile and runFromString methods they behave the same way.
Does anyone know how I can work out what is going wrong?
|