Function Documentation

void cc_xml_doc_delete_x (cc_xml_doc * doc) [related, inherited]Frees up a cc_xml_doc object and all its resources.

void cc_xml_doc_set_filter_cb_x (cc_xml_doc * doc, cc_xml_filter_cb * cb, void * userdata) [related, inherited]Sets the filter callback for document parsing. This makes it possible to use the parser as a streaming parser, by making the parser discard all elements it has read in.

Elements can only be discarded as they are popped - on push they will be kept regardless of what the filter callback returns.