YAZ 5.37.0
xmlquery.h File Reference

Query / XML conversions. More...

#include <yaz/yconfig.h>
#include <yaz/proto.h>
#include <yaz/xmltypes.h>

Go to the source code of this file.

Functions

void yaz_query2xml (const Z_Query *q, xmlDocPtr *docp)
void yaz_rpnquery2xml (const Z_RPNQuery *rpn, xmlDocPtr *docp)
void yaz_xml2query (const xmlNode *xmlnodep, Z_Query **query, ODR odr, int *error_code, const char **addinfo)

Detailed Description

Query / XML conversions.

Definition in file xmlquery.h.

Function Documentation

◆ yaz_query2xml()

◆ yaz_rpnquery2xml()

void yaz_rpnquery2xml ( const Z_RPNQuery * rpn,
xmlDocPtr * docp )

Definition at line 299 of file xmlquery.c.

References Z_Query::type_1, Z_Query::u, Z_Query::which, yaz_query2xml(), and Z_Query_type_1.

◆ yaz_xml2query()

void yaz_xml2query ( const xmlNode * xmlnodep,
Z_Query ** query,
ODR odr,
int * error_code,
const char ** addinfo )

Definition at line 823 of file xmlquery.c.

References yaz_xml2query_().