<?php
+include("xml-template.php");
-dl("XML_Template_SWIG.so");
$doc = XML_Template_process_file('../xml/included.xml', array(
'color' => 'red'
), false);
'h1' => 'Nice heading here',
'contents' => $doc
), true);
-output_to_fd_and_free($master, 1);
+print XML_Template_convert_doc_to_string($master, true);
?>