--- /dev/null
+#! /usr/bin/ruby
+require "xmltemplate"
+
+doc = XMLTemplate.process_file("../xml/included.xml", {
+ "color" => "red"
+}, false)
+master = XMLTemplate.process_file("../xml/master.xml", {
+ "title" => "Main HTML title",
+ "h1" => "Nice heading here",
+ "contents" => doc
+});
+print master.to_s