X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fsimple.php;h=7e6ce848ca79222eae58d7404ee5b8f13285304c;hb=f5af96eb727899f04c322640ee36028441c29ec9;hp=33a512d8711645586a618e5c93863b8c5f264f37;hpb=c00c787ebcd86ec94285b708db96a20286e57ab0;p=xml-template diff --git a/php5-swig/simple.php b/php5-swig/simple.php index 33a512d..7e6ce84 100644 --- a/php5-swig/simple.php +++ b/php5-swig/simple.php @@ -5,7 +5,7 @@ $doc = XML_Template_process_file('../xml/simple.xml', array( 'title' => 'A very basic example', '#hello' => 'Hello world!' ), true); -output_to_fd($doc, 1); +print XML_Template_convert_doc_to_string($doc); ?>