[Libosinfo] [PATCH 2/2] win8: Add install script
Christophe Fergeau
cfergeau at redhat.com
Thu Jan 10 13:44:12 UTC 2013
----- Исходное сообщение -----
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
>
> 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?
Christophe
More information about the Libosinfo
mailing list