From: Jim Evins Date: Mon, 1 Sep 2003 16:36:47 +0000 (+0000) Subject: Added XInclude support. X-Git-Tag: glabels-2_3_0~600 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1dec5fe436bd8b08d648bc8a7da2171ed137a2cc;p=glabels Added XInclude support. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@289 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/src/xml-label.c b/glabels2/src/xml-label.c index b7f8e6ff..19d4c7e7 100644 --- a/glabels2/src/xml-label.c +++ b/glabels2/src/xml-label.c @@ -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);