Do not substitute root node .. The node parameter is simply xmlNode*
- not xmlNode **.
static int process_config_includes(yaz_xml_include_t config, xmlNode *n)
{
static int process_config_includes(yaz_xml_include_t config, xmlNode *n)
{
+ for (n = n->children; n; n = n->next)
{
if (n->type == XML_ELEMENT_NODE)
{
{
if (n->type == XML_ELEMENT_NODE)
{
- if (process_config_includes(config, n->children))
+ if (process_config_includes(config, n))