]> git.sesse.net Git - xml-template/blobdiff - php5-swig/namespace2.php
In php5-swig, replace the output_by_fd() hack with a function that allows conversion...
[xml-template] / php5-swig / namespace2.php
index 3111890dc710c2edbbbeaffe85f0bb8d85165ea5..998cf6646d516c579c0f078a4ef7141427853d5f 100644 (file)
@@ -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);
 ?>