]> git.sesse.net Git - xml-template/blobdiff - php5-swig/structure.php
In php5-swig, replace the output_by_fd() hack with a function that allows conversion...
[xml-template] / php5-swig / structure.php
index 32399ddddf461a7362bcd53260b579a6b52883f2..de2e3ab8aeffecc0108941679699c78c2f313945 100644 (file)
@@ -8,5 +8,5 @@ $doc = XML_Template_process_file('../xml/structure.xml', array(
                array( '#inner' => 'Three' ),
        )
 ), true);
-output_to_fd($doc, 1);
+print XML_Template_convert_doc_to_string($doc);
 ?>