X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=c%2B%2B0x%2Fnamespace.cpp;h=3399957fd41255c55f6604dc0c4031f2741c7923;hb=ad45bc892752571fec46b21564e4683c074f1d46;hp=72985767303f19472dae8701c693584768163c52;hpb=d171b609042def06f57f4c7cabbee391a3611265;p=xml-template diff --git a/c++0x/namespace.cpp b/c++0x/namespace.cpp index 7298576..3399957 100644 --- a/c++0x/namespace.cpp +++ b/c++0x/namespace.cpp @@ -14,6 +14,7 @@ int main(int argc, char **argv) make_pair("#moretest", new Replace("bar")), }; - process_file("../xml/namespace.xml", argv[1], &master_directive); + xmlDocPtr doc = process_file("../xml/namespace.xml", &master_directive); + output_to_fd_and_free(doc, 1); return(0); }