<?php
+include("xml-template.php");
-dl("XML_Template_SWIG.so");
-$doc = process_file('../xml/passthru.xml', array(), true);
-output_to_fd_and_free($doc, 1);
+$doc = XML_Template_process_file('../xml/passthru.xml', array(), true);
+print XML_Template_convert_doc_to_string($doc);
?>