i have a set of data formatted in xml and using some xslt i generate another xml

$xmldoc = domxml_open_file($xmlpath."testDati1.xml");
$xsldoc = domxml_xslt_stylesheet_file($xmlpath."informativa1.xslt");
$result = $xsldoc->process($xmldoc,array('DataInvio' => date("YmdHis")));

now, using some parameters i want to retrasform the output in html or in pdf

there's no problem with html, but any of u knows how to trasform an xml file into a pdf file with less pain possible?

(its always possible to write a parser which uses php's api for pdf... i guess...)

thnx in advance

    We people here no not of the "XML" you speak of.

    We here are stuck in PHP mode and rlly cannot be arsed to do much else...

    (NOTE: many people on this forum DO care and CAN be arsed)

      lol
      have u thought that i posted here cause i need a php-solution?

      but thats late: i found another solution (xsl-fo) to merge with php of course...

      We here are stuck in PHP mode and rlly cannot be arsed to do much else...

      thats really sad cause interoperability is one of the coolest activity: just this month php magazine is talking how to code web services using soap or xml-rpc AND PHP

        Originally posted by morphy@6deex
        but thats late: i found another solution (xsl-fo) to merge with php of course...

        mmm bad idea to call system("fop file.fo file.pdf");

        does php has a fo parser?

          Write a Reply...