#include <libxml/tree.h>
#include <assert.h>
#include <yaz/facet.h>
+#include <yaz/proto.h>
#include "sru-p.h"
char *yaz_negotiate_sru_version(char *input_ver)
const char* name = yaz_element_attribute_value_get(ptr, "facet", "code");
yaz_log(YLOG_DEBUG, "sru-proxy facet type: %s", name);
- list = yaz_use_attribute_create(odr, name);
+ list = zget_AttributeList_use_string(odr, name);
for (node = ptr->children; node; node = node->next) {
if (yaz_match_xsd_element(node, "facetvalue"))
num_terms++;