X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsru-p.h;h=3bd09600d12cbe2101047d7fe9d4efd12c501100;hp=b82094ebd6286ae00c464e3e7ac773a548f942d4;hb=fe42f72dc30321041420cf2d1a83867b1c450f38;hpb=d71588ed52b5d84fa39a815f8c3893933a96dcbe diff --git a/src/sru-p.h b/src/sru-p.h index b82094e..3bd0960 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-2012 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: