summaryrefslogtreecommitdiff
path: root/obt/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'obt/xml.c')
-rw-r--r--obt/xml.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/obt/xml.c b/obt/xml.c
index ffff1500..69810d77 100644
--- a/obt/xml.c
+++ b/obt/xml.c
@@ -135,7 +135,8 @@ static gboolean load_file(ObtXmlInst *i,
/* XML_PARSE_BLANKS is needed apparently, or the tree can end up
with extra nodes in it. */
i->doc = xmlReadFile(path, NULL, (XML_PARSE_NOBLANKS |
- XML_PARSE_RECOVER));
+ XML_PARSE_RECOVER |
+ XML_PARSE_XINCLUDE));
if (i->doc) {
i->root = xmlDocGetRootElement(i->doc);
if (!i->root) {