X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsru-p.h;h=bf1f15823045c3e6e1c200a35f7c854ec523cde4;hb=8fba4cf2cac1cc543aa4c1063c78b449ebac44a7;hp=b82094ebd6286ae00c464e3e7ac773a548f942d4;hpb=d71588ed52b5d84fa39a815f8c3893933a96dcbe;p=yaz-moved-to-github.git diff --git a/src/sru-p.h b/src/sru-p.h index b82094e..bf1f158 100644 --- a/src/sru-p.h +++ b/src/sru-p.h @@ -35,7 +35,13 @@ void yaz_add_name_value_str(ODR o, char **name, char **value, int *i, void yaz_add_name_value_int(ODR o, char **name, char **value, int *i, char *a_name, Odr_int *val); -Z_AttributeList *yaz_use_atttribute_create(ODR o, const char *name); +Z_AttributeList *yaz_use_attribute_create(ODR o, const char *name); + +#if YAZ_HAVE_XML2 +#include +#include +const char *yaz_element_attribute_value_get(xmlNodePtr ptr, const char *node_name, const char *attribute_name); +#endif /* * Local variables: