xml_ending
#define xml_end_len (sizeof (xml_ending) + 1)
(void) snprintf(out_buf, out_buf_len, "%s", xml_ending);
(void) printf("%s", xml_ending);