On Thu, Jan 10, 2013 at 11:59 AM, Zeeshan Ali (Khattak) <zeeshanak@xxxxxxxxx> wrote: > 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.. Don't want to start a discussion, but, once you're on it ... could you check another scripts/xml files as well? :) > > -- > Regards, > > Zeeshan Ali (Khattak) > FSF member#5124 > > _______________________________________________ > Libosinfo mailing list > Libosinfo@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libosinfo Best Regards, -- Fabiano Fidêncio _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo