2 include("xml-template.php");
4 $doc = XML_Template_process_file('../xml/clone.xml', array(
7 array( 'li' => 'Raindrops on roses', 'li/class' => 'odd' ),
8 array( 'li' => 'Whiskers on kittens', 'li/class' => 'even' ),
9 array( 'li' => 'Bright copper kettles', 'li/class' => 'odd' ),
10 array( 'li' => 'Warm, woolen mittens', 'li/class' => 'even' )
13 print XML_Template_convert_doc_to_string($doc);