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

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