]> git.sesse.net Git - xml-template/blobdiff - php5-swig/attribute3.php
In php5-swig, replace the output_by_fd() hack with a function that allows conversion...
[xml-template] / php5-swig / attribute3.php
index 74920fd72172d67279d7993d5f91b7b7263c50a4..1262a906b897aa8f82b3b5830f25cb559ae546e6 100644 (file)
@@ -11,5 +11,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);
 ?>