]> git.sesse.net Git - xml-template/blob - c++0x/passthru.cpp
Tweak C++0x API a bit, to prepare for include. Also, output to stdout instead of...
[xml-template] / c++0x / passthru.cpp
1 #include <stdio.h>
2 #include <string.h>
3 #include <libxml/parser.h>
4
5 #include "xml-template.h"
6
7 using namespace std;
8
9 int main(int argc, char **argv)
10 {
11         Substitute master_directive = {};
12         xmlDocPtr doc = process_file("../xml/passthru.xml", &master_directive);
13         output_to_fd_and_free(doc, 1);
14         return(0);
15 }