]> git.sesse.net Git - xml-template/blobdiff - php5-swig/attribute-empty.php
In php5-swig, replace the output_by_fd() hack with a function that allows conversion...
[xml-template] / php5-swig / attribute-empty.php
index ba4941ec384e0101fa3af5b623749813fc2aa3e4..ce4e532ecfdc716789ccbc4888cbe247ae52cf35 100644 (file)
@@ -8,5 +8,5 @@ $doc = XML_Template_process_file('../xml/clone.xml', array(
        'color' => 'blue',
        '#things' => array(NULL)
 ), true);
-output_to_fd($doc, 1);
+print XML_Template_convert_doc_to_string($doc);
 ?>