X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=c%2B%2B0x%2Fattribute2.cpp;h=478dd51d0150e4f3aec7271cd78f6db954fd3b2a;hb=ad45bc892752571fec46b21564e4683c074f1d46;hp=94cf17d24f56277c00d70420529101e16a118650;hpb=a87410331a3cf42444d92930a9a796a384278c8d;p=xml-template diff --git a/c++0x/attribute2.cpp b/c++0x/attribute2.cpp index 94cf17d..478dd51 100644 --- a/c++0x/attribute2.cpp +++ b/c++0x/attribute2.cpp @@ -16,6 +16,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); }