2 * Copyright (C) 1995-2006, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: xmlquery.h,v 1.5 2006-07-06 10:17:52 adam Exp $
9 \brief Query / XML conversions
12 #ifndef YAZ_XMLQUERY_H
13 #define YAZ_XMLQUERY_H
16 #include <yaz/yconfig.h>
17 #include <yaz/proto.h>
19 #include <libxml/parser.h>
23 YAZ_EXPORT void yaz_query2xml(const Z_Query *q, xmlDocPtr *docp);
24 YAZ_EXPORT void yaz_rpnquery2xml(const Z_RPNQuery *rpn, xmlDocPtr *docp);
26 YAZ_EXPORT void yaz_xml2query(const void *xmlnodep, Z_Query **query, ODR odr,
27 int *error_code, const char **addinfo);
37 * indent-tabs-mode: nil
39 * vim: shiftwidth=4 tabstop=8 expandtab