struct xml *xml_create(const char *fn) { struct xml *xml; return (xml = calloc(1, sizeof *xml)) ? (xml->parsed = xml_parse(xml->raw = file_content(fn))) ? xml : (free(xml), NULL) : (perror("calloc"), NULL); }