diff options
Diffstat (limited to 'obt/parse.c')
| -rw-r--r-- | obt/parse.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/obt/parse.c b/obt/parse.c index b7c34ab1..b44e968d 100644 --- a/obt/parse.c +++ b/obt/parse.c @@ -277,6 +277,13 @@ gboolean obt_parse_load_mem(ObtParseInst *i, return r; } +gboolean obt_parse_save_file(ObtParseInst *inst, + const gchar *path, + gboolean pretty) +{ + return xmlSaveFormatFile(path, inst->doc, pretty) != -1; +} + void obt_parse_close(ObtParseInst *i) { if (i && i->doc) { |
