YAZ  5.23.1
Functions
xml_add.c File Reference

XML node creation utilities. More...

#include <stdio.h>
#include <yaz/srw.h>
#include "sru-p.h"

Go to the source code of this file.

Functions

void add_XML_n (xmlNodePtr ptr, const char *elem, char *val, int len, xmlNsPtr ns_ptr)
 
xmlNodePtr add_xsd_string_n (xmlNodePtr ptr, const char *elem, const char *val, int len)
 
xmlNodePtr add_xsd_string_ns (xmlNodePtr ptr, const char *elem, const char *val, xmlNsPtr ns_ptr)
 
xmlNodePtr add_xsd_string (xmlNodePtr ptr, const char *elem, const char *val)
 
void add_xsd_integer (xmlNodePtr ptr, const char *elem, const Odr_int *val)
 

Detailed Description

XML node creation utilities.

Definition in file xml_add.c.

Function Documentation

void add_XML_n ( xmlNodePtr  ptr,
const char *  elem,
char *  val,
int  len,
xmlNsPtr  ns_ptr 
)

Definition at line 19 of file xml_add.c.

Referenced by yaz_srw_codec(), yaz_srw_record(), and yaz_ucp_codec().

void add_xsd_integer ( xmlNodePtr  ptr,
const char *  elem,
const Odr_int val 
)

Definition at line 66 of file xml_add.c.

References ODR_INT_PRINTF.

Referenced by yaz_sru_facet_response(), yaz_srw_codec(), yaz_srw_record(), and yaz_srw_term().

xmlNodePtr add_xsd_string ( xmlNodePtr  ptr,
const char *  elem,
const char *  val 
)
xmlNodePtr add_xsd_string_n ( xmlNodePtr  ptr,
const char *  elem,
const char *  val,
int  len 
)

Definition at line 35 of file xml_add.c.

Referenced by yaz_sru_facet_response(), and yaz_srw_record().

xmlNodePtr add_xsd_string_ns ( xmlNodePtr  ptr,
const char *  elem,
const char *  val,
xmlNsPtr  ns_ptr 
)

Definition at line 48 of file xml_add.c.

Referenced by add_xsd_string(), and yaz_ucp_codec().