]> git.sesse.net Git - xml-template/blobdiff - php5-swig/include.php
Implement prettyprinting in the PHP5 SWIG version.
[xml-template] / php5-swig / include.php
index 69ee5132bcd86f0f5dea18bdd7bd4a95a4179e27..6845d50711a67b36d7bc795fc62677f0bfc65c70 100644 (file)
@@ -9,5 +9,5 @@ $master = XML_Template_process_file('../xml/master.xml', array(
        'h1' => 'Nice heading here',
        'contents' => $doc
 ), true);
-print XML_Template_convert_doc_to_string($master);
+print XML_Template_convert_doc_to_string($master, true);
 ?>