Class LibXMLDumper¶
Defined in File libxml_dumper.h
Class Documentation¶
-
class
kiwix
::
LibXMLDumper
¶ A tool to dump a
Library
into a basic library.xmlPublic Functions
-
LibXMLDumper
() = default¶
-
~LibXMLDumper
()¶
-
std::string
dumpLibXMLContent
(const std::vector<std::string> &bookIds)¶ Dump the library.xml
- Parameters
id – The id of the library.
- Returns
The library.xml content.
-
std::string
dumpLibXMLBookmark
()¶ Dump the bookmark of the library.
- Returns
The bookmark.xml content.
-
inline void
setBaseDir
(const std::string &baseDir)¶ Set the base directory used.
- Parameters
baseDir – the base directory to use.
-