]> git.sesse.net Git - xml-template/blobdiff - c++0x/include.cpp
Rename C++0x port to C++11, since that will be the official name.
[xml-template] / c++0x / include.cpp
diff --git a/c++0x/include.cpp b/c++0x/include.cpp
deleted file mode 100644 (file)
index 546be7b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <stdio.h>
-
-#include "xml-template.h"
-
-using namespace std;
-
-int main(int argc, char **argv)
-{
-       Substitute doc_directive = {
-               make_pair("color", new Replace("red")),
-       };
-       xmlDocPtr doc = process_file("../xml/included.xml", &doc_directive, false);
-
-       Substitute master_directive = {
-               make_pair("title", new Replace("Main HTML title")),
-               make_pair("h1", new Replace("Nice heading here")),
-               make_pair("contents", new ReplaceInclude(doc)),
-       };
-
-       xmlDocPtr master = process_file("../xml/master.xml", &master_directive);
-       output_to_fd_and_free(master, 1);
-       return(0);
-}