X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsru-p.h;h=b10b858e32a44220b1fe1cdb6bec7200582a0273;hp=b82094ebd6286ae00c464e3e7ac773a548f942d4;hb=fcea26f3542a6097ad258cdbb6e57565366d5f35;hpb=d71588ed52b5d84fa39a815f8c3893933a96dcbe diff --git a/src/sru-p.h b/src/sru-p.h index b82094e..b10b858 100644 --- a/src/sru-p.h +++ b/src/sru-p.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data. + * Copyright (C) 1995-2013 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -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: