X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fnamespace2.php;h=998cf6646d516c579c0f078a4ef7141427853d5f;hb=c1442a39c69a0e27eaf47165e53c801672390acc;hp=3111890dc710c2edbbbeaffe85f0bb8d85165ea5;hpb=c00c787ebcd86ec94285b708db96a20286e57ab0;p=xml-template diff --git a/php5-swig/namespace2.php b/php5-swig/namespace2.php index 3111890..998cf66 100644 --- a/php5-swig/namespace2.php +++ b/php5-swig/namespace2.php @@ -5,5 +5,5 @@ $doc = XML_Template_process_file('../xml/namespace2.xml', array( 'title' => 'Namespace tests', '#hello' => 'Replaced.', ), true); -output_to_fd($doc, 1); +print XML_Template_convert_doc_to_string($doc); ?>