--- /dev/null
+<?php
+require('xml-template.php');
+
+$doc = XML_Template_process_file('../xml/clone.xml', array(
+ 'color' => 'red',
+ '#things' => array(
+ array( 'li' => 'Raindrops on roses', 'li/class' => 'odd' ),
+ array( 'li' => 'Whiskers on kittens', 'li/class' => 'even' ),
+ array( 'li' => 'Bright copper kettles', 'li/class' => 'odd' ),
+ array( 'li' => 'Warm, woolen mittens', 'li/class' => 'even' )
+ )
+));
+print $doc->dump_mem();
+?>