/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
else
{
xmlDocPtr doc = 0;
-
+
yaz_rpnquery2xml(rpn, &doc);
-
+
if (!doc)
{
fprintf(stderr, "%s: yaz_rpnquery2xml failed for query %s\n",
}
xmlFreeDoc(doc);
}
- }
+ }
odr_destroy(odr);
}
fprintf(stderr, "%s: close failed for file %s\n", prog, xmlfile);
exit(1);
}
-
+
xmlquerytopqf(xmlstr);
xfree(xmlstr);
}