From 2938c5cf138bef4f65644d9213233fa0e5a5ee6f Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 11 Oct 2020 20:50:39 +0200 Subject: bookmarks: Add support for XInclude --- badwolf.1 | 2 +- bookmarks.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/badwolf.1 b/badwolf.1 index 6bbe2b2..ca02f83 100644 --- a/badwolf.1 +++ b/badwolf.1 @@ -79,7 +79,7 @@ A more generic variable name is also intended to be used in the future. XBEL (XML Bookmark Exchange Language) file, known to be currently supported by: .Xr elinks 1 , .Xr konqueror 1 , -.Xr kbookmarkeditor 1 . Doing a symbolic link from their path works fine. +.Xr kbookmarkeditor 1 . Doing a symbolic link from their path works fine but you might also want to use XInclude to merge multiple XBEL files. .Pp For more information about this format see: .Lk http://pyxml.sourceforge.net/topics/xbel/ diff --git a/bookmarks.c b/bookmarks.c index c6e2ece..6d35216 100644 --- a/bookmarks.c +++ b/bookmarks.c @@ -92,6 +92,8 @@ bookmarks_completion_init() return NULL; } + xmlXIncludeProcess(doc); + xpathCtx = xmlXPathNewContext(doc); if(xpathCtx == NULL) { -- cgit v1.3.1-23-gd82d