YAZ 5.37.0
nmem_xml.h File Reference

Header for Nibble Memory functions + Libxml2 specific stuff. More...

#include <yaz/nmem.h>
#include <yaz/xmltypes.h>

Go to the source code of this file.

Functions

char * nmem_text_node_cdata (const xmlNode *ptr, NMEM nmem)
 copies TEXT Libxml2 node data to NMEM
char * nmem_from_xml_buffer (NMEM nmem, const xmlBufferPtr buf, int *len)
 copies xmlBuffer data to NMEM

Detailed Description

Header for Nibble Memory functions + Libxml2 specific stuff.

Definition in file nmem_xml.h.

Function Documentation

◆ nmem_from_xml_buffer()

char * nmem_from_xml_buffer ( NMEM nmem,
const xmlBufferPtr buf,
int * len )

copies xmlBuffer data to NMEM

Definition at line 36 of file nmem_xml.c.

References nmem_strdupn().

Referenced by yaz_match_xsd_XML_n2(), and yaz_solr_decode_result_docs().

◆ nmem_text_node_cdata()

char * nmem_text_node_cdata ( const xmlNode * ptr,
NMEM nmem )