blob: ab5a82e17307123dc617727e9a32f37033f668ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "fitz.h"
#include "samus.h"
int main(int argc, char **argv)
{
fz_error *error;
fz_file *file;
sa_xmlnode *xml;
error = fz_openfile(&file, argv[1], FZ_READ);
if (error)
fz_abort(error);
error = sa_parsexml(&xml, file, 0);
if (error)
fz_abort(error);
fz_closefile(file);
sa_debugxml(xml, 0);
sa_dropxml(xml);
return 0;
}
|