Lines Matching refs:trav
41 xmlNodePtr trav; in cleanup_xml_node() local
44 trav = node->children; in cleanup_xml_node()
45 while (trav != NULL) { in cleanup_xml_node()
51 if (trav->type == XML_TEXT_NODE) { in cleanup_xml_node()
52 if (is_blank(trav->content)) { in cleanup_xml_node()
53 del = trav; in cleanup_xml_node()
55 } else if ((trav->type != XML_ELEMENT_NODE) && in cleanup_xml_node()
56 (trav->type != XML_CDATA_SECTION_NODE)) { in cleanup_xml_node()
57 del = trav; in cleanup_xml_node()
58 } else if (trav->children != NULL) { in cleanup_xml_node()
59 cleanup_xml_node(trav); in cleanup_xml_node()
61 trav = trav->next; in cleanup_xml_node()