From f51dd67f3a3f472af0620391eb588eeca4533689 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 11 Nov 2004 12:53:54 +0000 Subject: Load /tmp/tmp.n9GTkp/libxml2-2.6.16 into packages/libxml2/branches/upstream/current. --- doc/examples/tree1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/examples/tree1.c') diff --git a/doc/examples/tree1.c b/doc/examples/tree1.c index 8a303e2..8644cf1 100644 --- a/doc/examples/tree1.c +++ b/doc/examples/tree1.c @@ -64,10 +64,10 @@ main(int argc, char **argv) LIBXML_TEST_VERSION /*parse the file and get the DOM */ - doc = xmlParseFile(argv[1]); + doc = xmlReadFile(argv[1], NULL, 0); if (doc == NULL) { - printf("error: could not parse file file.xml\n"); + printf("error: could not parse file %s\n", argv[1]); } /*Get the root element node */ -- cgit v1.2.3