]> git.sesse.net Git - xml-template/blob - c++0x/attribute-empty.cpp
b79836bbc4ed52623f1ea56cee320368926a0a30
[xml-template] / c++0x / attribute-empty.cpp
1 #include <stdio.h>
2
3 #include "xml-template.h"
4
5 using namespace std;
6
7 int main(int argc, char **argv)
8 {
9         Substitute master_directive = {
10                 make_pair("color", new Replace("blue")),
11                 make_pair("#things", new Clone { }),
12         };
13
14         process_file("../xml/clone.xml", argv[1], &master_directive);
15         return(0);
16 }