<?php
+include("xml-template.php");
-dl("XML_Template_SWIG.so");
$doc = XML_Template_process_file('../xml/namespace.xml', array(
'title' => 'Namespace tests',
'#hello' => 'Hello world!',
'tagname' => 'foo',
'#moretest' => 'bar'
), true);
-output_to_fd($doc, 1);
+print XML_Template_convert_doc_to_string($doc);
?>