| 151 | } |
| 152 | |
| 153 | static bool xml_read_string(string *str, const xml_node node, const char *name) |
| 154 | { |
| 155 | const xml_attribute attr = node.attribute(name); |
| 156 | |
| 157 | if (attr) { |
| 158 | *str = attr.value(); |
| 159 | return true; |
| 160 | } |
| 161 | |
| 162 | return false; |
| 163 | } |
| 164 | |
| 165 | static bool xml_equal_string(const xml_node node, const char *name, const char *value) |
| 166 | { |
no test coverage detected