for (ptr = root->children; ptr; ptr = ptr->next)
{
if (ptr->type == XML_ELEMENT_NODE &&
!strcmp((const char *) ptr->name, "result"))
for (ptr = root->children; ptr; ptr = ptr->next)
{
if (ptr->type == XML_ELEMENT_NODE &&
!strcmp((const char *) ptr->name, "result"))
if (match_xml_node_attribute(ptr, "lst", "name", "facet_counts"))
if (match_xml_node_attribute(ptr, "lst", "name", "facet_counts"))