--- /dev/null
+<?php
+include("xml-template.php");
+
+$doc = XML_Template_process_file('../xml/simple.xml', array(
+ 'title' => 'A very basic example',
+ '#hello' => 'Hello world!'
+), true);
+XML_Template_clean_whitespace($doc, true);
+print XML_Template_convert_doc_to_string($doc, true);
+
+?>
+