<?php
+include("xml-template.php");
-dl("XML_Template_SWIG.so");
$doc = XML_Template_process_file('../xml/clone.xml', array(
'color' => 'blue',
'#things' => XML_Template_alternate('li/class', array(
array( 'li' => 'Warm, woolen mittens' ),
), array('odd', 'even'))
), true);
-output_to_fd_and_free($doc, 1);
+print XML_Template_convert_doc_to_string($doc);
?>