2 include("xml-template.php");
4 $doc = XML_Template_process_file('../xml/simple.xml', array(
5 'title' => 'A very basic example',
6 '#hello' => 'Hello world!'
8 XML_Template_clean_whitespace($doc, true);
9 print XML_Template_convert_doc_to_string($doc, true);