-<?php
-include("xml-template.php");
-
-$doc = XML_Template_process_file('../xml/clone.xml', array(
- 'color' => 'blue',
- '#things' => XML_Template_alternate('li/class', array(
- array( 'li' => 'Raindrops on roses' ),
- array( 'li' => 'Whiskers on kittens' ),
- NULL,
- array( 'li' => 'Bright copper kettles' ),
- array( 'li' => 'Warm, woolen mittens' ),
- ), array('odd', 'even'))
-), true);
-print XML_Template_convert_doc_to_string($doc);
-?>