| 228 | } |
| 229 | |
| 230 | static void get_html(const char* file) |
| 231 | { |
| 232 | acl::string buf; |
| 233 | if (acl::ifstream::load(file, &buf) == false) |
| 234 | { |
| 235 | printf("load %s error %s\r\n", file, acl::last_serror()); |
| 236 | return; |
| 237 | } |
| 238 | |
| 239 | acl::xml1 xml(buf.c_str()); |
| 240 | const acl::string& text = xml.getText(); |
| 241 | printf("text:{%s}\r\n", text.c_str()); |
| 242 | } |
| 243 | |
| 244 | int main(int argc, char* argv[]) |
| 245 | { |
no test coverage detected
searching dependent graphs…