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