--- /dev/null
+#! /usr/bin/perl
+use XML::Template;
+
+my $doc = XML::Template::process_file('../xml/included.xml', {
+ 'color' => 'red'
+});
+my $master = XML::Template::process_file('../xml/master.xml', {
+ 'title' => 'Main HTML title',
+ 'h1' => 'Nice heading here',
+ 'contents' => $doc
+});
+print $master->toString;