X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Finclude.php;h=6845d50711a67b36d7bc795fc62677f0bfc65c70;hb=7d1da52761b9ec9747c4400609658a379a34392c;hp=b24e59f866543911da1e853abf88aeec8984275c;hpb=b8d9f535d133e2cdf87aac8134f09f216912a6aa;p=xml-template diff --git a/php5-swig/include.php b/php5-swig/include.php index b24e59f..6845d50 100644 --- a/php5-swig/include.php +++ b/php5-swig/include.php @@ -1,6 +1,6 @@ 'red' ), false); @@ -9,5 +9,5 @@ $master = XML_Template_process_file('../xml/master.xml', array( 'h1' => 'Nice heading here', 'contents' => $doc ), true); -output_to_fd_and_free($master, 1); +print XML_Template_convert_doc_to_string($master, true); ?>