 for (pugi::xml_node node = varnodes.first_child(); node; node = node.next_sibling())     printf("%s: %s\n", node.name(), node.attribute("id").value()); for (pugi::xml_node node = blocknodes.first_child(); node; node = node.next_sibling())     printf("%s: %s\n", node.name(), node.attribute("id").value()); for (pugi::xml_node node = funcnodes.first_child(); node; node = node.next_sibling())     printf("%s: %s\n", node.name(), node.attribute("id").value());  