X-Git-Url: https://git.sesse.net/?p=xml-template;a=blobdiff_plain;f=c%2B%2B0x%2Fattribute3.cpp;h=d2746e80c0a166284c4ff769571b36e6676d2908;hp=a3f8b6eca5dcfdf5712955a422bdd7245caa618d;hb=ad45bc892752571fec46b21564e4683c074f1d46;hpb=d9fe760eebc1e40789f2fd769dcba74e3b0dbcbb diff --git a/c++0x/attribute3.cpp b/c++0x/attribute3.cpp index a3f8b6e..d2746e8 100644 --- a/c++0x/attribute3.cpp +++ b/c++0x/attribute3.cpp @@ -17,6 +17,7 @@ int main(int argc, char **argv) }, { "odd", "even" } }), }; - process_file("../xml/clone.xml", argv[1], &master_directive); + xmlDocPtr doc = process_file("../xml/clone.xml", &master_directive); + output_to_fd_and_free(doc, 1); return(0); }