--- /dev/null
+#include <stdio.h>
+
+#include "xml-template.h"
+
+using namespace std;
+
+int main(int argc, char **argv)
+{
+ Substitute master_directive = {
+ make_pair("color", new Replace("blue")),
+ make_pair("#things", new Clone { }),
+ };
+
+ xmlDocPtr doc = process_file("../xml/clone.xml", &master_directive);
+ output_to_fd_and_free(doc, 1);
+ return(0);
+}