#include <yaz/log.h>
#include <yaz/facet.h>
#include <yaz/wrbuf.h>
+#include <yaz/proto.h>
#include "sru-p.h"
xmlNodePtr node;
// USE attribute
const char* name = yaz_element_attribute_value_get(ptr, "lst", "name");
- list = yaz_use_attribute_create(o, name);
+ list = zget_AttributeList_use_string(o, name);
for (node = ptr->children; node; node = node->next)
num_terms++;
facet_field = facet_field_create(o, list, num_terms);
odr_malloc(encode, strlen(hreq->path) +
strlen(uri_args) + strlen(solr_op) + 5);
+ cp = strchr(hreq->path, '#');
+ if (cp)
+ *cp = '\0';
cp = strchr(hreq->path, '?');
if (cp)
{