/* * Add global tokens to the start and to the end of an inline string. */ void parse_inline_string(Octstr *temp, simple_binary_t **binary) { Octstr *startos; octstr_insert(temp, startos = octstr_format("%c", WBXML_STR_I), 0); octstr_destroy(startos); octstr_format_append(temp, "%c", WBXML_STR_END); parse_octet_string(temp, binary); }
static int parse_cdata(xmlNodePtr node, simple_binary_t **sibxml) { int ret = 0; Octstr *temp; temp = create_octstr_from_node((char *)node); parse_octet_string(temp, sibxml); octstr_destroy(temp); return ret; }