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