<?php
+include("xml-template.php");
-dl("XML_Template_SWIG.so");
-$doc = process_file('../xml/namespace2.xml', array(
+$doc = XML_Template_process_file('../xml/namespace2.xml', array(
'title' => 'Namespace tests',
'#hello' => 'Replaced.',
), true);
-output_to_fd_and_free($doc, 1);
+output_to_fd($doc, 1);
?>