#! /usr/bin/perl
use XML::Template;

my $doc = XML::Template::process_file('../xml/clone.xml', {
	'color' => 'blue',
	'#things' => XML::Template::alternate('li/class', [
		{ 'li' => 'Raindrops on roses' },
		{ 'li' => 'Whiskers on kittens' },
		undef,
		{ 'li' => 'Bright copper kettles' },
		{ 'li' => 'Warm, woolen mittens'},
	], 'odd', 'even')
});
print $doc->toString;
