3 #include "xml-template.h"
7 int main(int argc, char **argv)
9 unordered_map<string, Directive*> master_map;
10 master_map.insert(make_pair("title", new Replace("A very basic example")));
11 master_map.insert(make_pair("#hello", new Replace("Hello world!")));
13 process_file("../xml/simple.xml", argv[1], new Substitute(master_map));