]> git.sur5r.net Git - glabels/commitdiff
Added XInclude support.
authorJim Evins <evins@snaught.com>
Mon, 1 Sep 2003 16:36:47 +0000 (16:36 +0000)
committerJim Evins <evins@snaught.com>
Mon, 1 Sep 2003 16:36:47 +0000 (16:36 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@289 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/xml-label.c

index b7f8e6ffcc8a1f6427551583fd082099e264cd40..19d4c7e7e66aeaf3684e4b7e368441f54f655437 100644 (file)
@@ -175,6 +175,9 @@ gl_xml_label_open (const gchar      *filename,
                return NULL;
        }
 
+       xmlXIncludeProcess (doc);
+       xmlReconciliateNs (doc, xmlDocGetRootElement (doc));
+
        label = xml_doc_to_label (doc, status);
 
        xmlFreeDoc (doc);