YAZ
5.34.0
|
XML node inspection utilities. More...
Go to the source code of this file.
Macros | |
#define | CHECK_TYPE 0 |
Functions | |
int | yaz_match_xsd_element (xmlNodePtr ptr, const char *elem) |
int | yaz_match_xsd_string_n_nmem (xmlNodePtr ptr, const char *elem, NMEM nmem, char **val, int *len) |
int | yaz_match_xsd_string_n (xmlNodePtr ptr, const char *elem, ODR o, char **val, int *len) |
int | yaz_match_xsd_string (xmlNodePtr ptr, const char *elem, ODR o, char **val) |
int | yaz_match_xsd_XML_n2 (xmlNodePtr ptr, const char *elem, ODR o, char **val, int *len, int fixup_root) |
int | yaz_match_xsd_XML_n (xmlNodePtr ptr, const char *elem, ODR o, char **val, int *len) |
int | yaz_match_xsd_integer (xmlNodePtr ptr, const char *elem, ODR o, Odr_int **val) |
XML node inspection utilities.
Definition in file xml_match.c.
#define CHECK_TYPE 0 |
Definition at line 27 of file xml_match.c.
int yaz_match_xsd_element | ( | xmlNodePtr | ptr, |
const char * | elem | ||
) |
Definition at line 17 of file xml_match.c.
Referenced by circulations(), holdingsRecord(), match_v_next(), volumes(), yaz_match_xsd_integer(), yaz_match_xsd_string_n_nmem(), yaz_match_xsd_XML_n2(), yaz_sru_facet_response(), yaz_sru_proxy_decode_facet_field(), yaz_sru_proxy_decode_facets(), yaz_srw_codec(), yaz_srw_record(), yaz_ucp_codec(), and yaz_xml_to_opac_ptr().
Definition at line 126 of file xml_match.c.
References odr_atoi(), odr_intdup(), and yaz_match_xsd_element().
Referenced by yaz_sru_facet_response(), yaz_srw_codec(), yaz_srw_record(), and yaz_srw_term().
int yaz_match_xsd_string | ( | xmlNodePtr | ptr, |
const char * | elem, | ||
ODR | o, | ||
char ** | val | ||
) |
Definition at line 71 of file xml_match.c.
References yaz_match_xsd_string_n().
Referenced by yaz_sru_facet_response(), yaz_srw_codec(), yaz_srw_decode_diagnostics(), yaz_srw_record(), yaz_srw_term(), yaz_srw_version(), and yaz_ucp_codec().
int yaz_match_xsd_string_n | ( | xmlNodePtr | ptr, |
const char * | elem, | ||
ODR | o, | ||
char ** | val, | ||
int * | len | ||
) |
Definition at line 65 of file xml_match.c.
References odr::mem, and yaz_match_xsd_string_n_nmem().
Referenced by yaz_match_xsd_string(), and yaz_srw_record().
int yaz_match_xsd_string_n_nmem | ( | xmlNodePtr | ptr, |
const char * | elem, | ||
NMEM | nmem, | ||
char ** | val, | ||
int * | len | ||
) |
Definition at line 29 of file xml_match.c.
References nmem_strdup(), and yaz_match_xsd_element().
Referenced by match_element_next(), and yaz_match_xsd_string_n().
int yaz_match_xsd_XML_n | ( | xmlNodePtr | ptr, |
const char * | elem, | ||
ODR | o, | ||
char ** | val, | ||
int * | len | ||
) |
Definition at line 120 of file xml_match.c.
References yaz_match_xsd_XML_n2().
Referenced by yaz_srw_codec(), and yaz_srw_record().
int yaz_match_xsd_XML_n2 | ( | xmlNodePtr | ptr, |
const char * | elem, | ||
ODR | o, | ||
char ** | val, | ||
int * | len, | ||
int | fixup_root | ||
) |
Definition at line 76 of file xml_match.c.
References odr_strdupn(), and yaz_match_xsd_element().
Referenced by yaz_match_xsd_XML_n(), and yaz_srw_record().