Added listen_for_xmlstart

This commit is contained in:
James Booth
2015-05-12 21:50:14 +01:00
parent 43f4080339
commit d83fd84d98
2 changed files with 38 additions and 10 deletions

View File

@@ -28,15 +28,6 @@ start_element(void *data, const char *element, const char **attribute)
static void
end_element(void *data, const char *element)
{
// int i;
// for (i = 0; i < depth; i++) {
// printf(" ");
// }
// if (last_content) {
// printf("%s Contents: \"%s\"\n", element, last_content);
// }
//
if (text) {
printf(" TEXT: %s\n", text->str);
g_string_free(text, TRUE);