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