X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fnamespace.php;h=04d2faccf5108462dee39c6b13db6d7bb14353de;hb=7d1da52761b9ec9747c4400609658a379a34392c;hp=9a653dc3b4adb85a4d188d3ff5799173197267c9;hpb=ab29cf7e641eca15124acb550e4244edd6b0784a;p=xml-template diff --git a/php5-swig/namespace.php b/php5-swig/namespace.php index 9a653dc..04d2fac 100644 --- a/php5-swig/namespace.php +++ b/php5-swig/namespace.php @@ -1,6 +1,6 @@ 'Namespace tests', '#hello' => 'Hello world!', @@ -8,5 +8,5 @@ $doc = XML_Template_process_file('../xml/namespace.xml', array( 'tagname' => 'foo', '#moretest' => 'bar' ), true); -output_to_fd($doc, 1); +print XML_Template_convert_doc_to_string($doc); ?>