| 19 | } |
| 20 | |
| 21 | static void xml_node_print(const acl::xml_node& node, int depth) |
| 22 | { |
| 23 | for (int i = 0; i < depth; i++) |
| 24 | printf("\t"); |
| 25 | |
| 26 | printf("tag: %s\r\n", node.tag_name()); |
| 27 | |
| 28 | const char* txt = node.text(); |
| 29 | for (int i = 0; i < depth; i++) |
| 30 | printf("\t"); |
| 31 | printf("text: {%s}\r\n", txt ? txt : ""); |
| 32 | |
| 33 | node_attr_print(node, depth + 1); |
| 34 | } |
| 35 | |
| 36 | static void xml_node_walk(acl::xml_node& node, int depth) |
| 37 | { |
no test coverage detected
searching dependent graphs…