On Thu, Jan 10, 2013 at 3:44 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote: > > > ----- Исходное сообщение ----- >> From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx> >> >> Alternative patch to add Windows 8 installer that makes use of >> 'xi:include' nodes to save space. However I failed to make it work. >> Either the xpointer is wrong and/or (more likely) this node is not >> automatically substituted by libxml2. >> >> There is special xinclude API in libxml2 that probably solves our >> problem but it works on DOM API and we are using XPath to load/parse >> our >> XML files. > > libxml2 XPath API works on top of a DOM tree, see osinfo_loader_process_xml. Did you try to call xmlXIncludeProcessFlags on the xmlDocPtr xml variable available in this function? Oh, I had missed the fact that we have the xmlDocPtr is available. I'll give it another try.. -- Regards, Zeeshan Ali (Khattak) FSF member#5124 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo