]> git.sesse.net Git - xml-template/blobdiff - php5-swig/clone.php
In php5-swig, replace the output_by_fd() hack with a function that allows conversion...
[xml-template] / php5-swig / clone.php
index ab0ed7a31e4d73aebb06a497fdd9c2d2f57456cc..20444db54ebfd4147f5cc5110aef4da50e63384a 100644 (file)
@@ -10,7 +10,7 @@ $doc = XML_Template_process_file('../xml/clone.xml', array(
                array( 'li' => 'Warm, woolen mittens' ) 
        )
 ), true);
-output_to_fd($doc, 1);
+print XML_Template_convert_doc_to_string($doc);
 
 ?>