]> git.sesse.net Git - xml-template/blob - c++11/namespace2.cpp
Fix some errors in the include test for php5-swig.
[xml-template] / c++11 / namespace2.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("title", new Replace("Namespace tests")),
11                 make_pair("#hello", new Replace("Replaced.")),
12         };
13
14         xmlDocPtr doc = process_file("../xml/namespace2.xml", &master_directive);
15         output_to_fd_and_free(doc, 1);
16         return(0);
17 }