X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Finclude.php;h=69ee5132bcd86f0f5dea18bdd7bd4a95a4179e27;hb=f5af96eb727899f04c322640ee36028441c29ec9;hp=cc98dde7bfe15a924f5f53dd3c4ac132b6e8d28f;hpb=c00c787ebcd86ec94285b708db96a20286e57ab0;p=xml-template diff --git a/php5-swig/include.php b/php5-swig/include.php index cc98dde..69ee513 100644 --- a/php5-swig/include.php +++ b/php5-swig/include.php @@ -9,5 +9,5 @@ $master = XML_Template_process_file('../xml/master.xml', array( 'h1' => 'Nice heading here', 'contents' => $doc ), true); -output_to_fd($master, 1); +print XML_Template_convert_doc_to_string($master); ?>