]> git.sesse.net Git - xml-template/blobdiff - c++0x/simple.cpp
Rename C++0x port to C++11, since that will be the official name.
[xml-template] / c++0x / simple.cpp
diff --git a/c++0x/simple.cpp b/c++0x/simple.cpp
deleted file mode 100644 (file)
index 0c89542..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <stdio.h>
-
-#include "xml-template.h"
-
-using namespace std;
-
-int main(int argc, char **argv)
-{
-       Substitute master_directive = {
-               make_pair("title", new Replace("A very basic example")),
-               make_pair("#hello", new Replace("Hello world!")),
-       };
-
-       xmlDocPtr doc = process_file("../xml/simple.xml", &master_directive);
-       output_to_fd_and_free(doc, 1);
-       return(0);
-}