DBMERGE(1) DocBook Splitting tools DBMERGE(1)NAMEdbmerge - merge splited DocBook document
SYNOPSISdbmerge [options] input_file [output_file]
dbmerge--help
DESCRIPTIONdbmerge process "xi:include" elements (see <http://www.w3.org/TR/xin‐
clude/>). That is merge splited XML file to one file.
All "xml:base" attributes (see <http://www.w3.org/TR/xmlbase/>) are
processed and them removed. Relative references in "fileref" and "url"
attributes are properly rewrited.
If no output file name is specified on command line, output is dumped
to standard output and relative references are rewrited as if output
file would be in current work directory.
OPTIONS
--lo-dirs=PATHS
Coma-separated list of paths in which are located local objects
(see LOCAL OBJECTS below). All paths are expanded as the standart
Unix shell would do, see File::Glob(3perl) for details. Relative
paths is related to curent working directory. If path contains
$XML_BASE at the begining it is replaced by real base of current
processing document. Default paths are LocalObjects, MediaObjects,
ImageObjects and #Pictures in base directory of current processing
document.
--lo-dirs-add=PATHS
Coma-separeted list of paths which are addeded to preiously speci‐
fied or the default local objects paths. See --lo-dirs option.
--lo-dir=DIRECTORY
Name of local objects directory for newly created documents (see
LOCAL OBJECTS below). Relative path is related to newly created
documents. Default directory is LocalObjects.
--lo-move
Move local objects instead copy them. See LOCAL OBJECTS below.
--xmlbase=URI
XML base URI (Uniform Resource Identifier) for input document. See
<http://www.w3.org/TR/xmlbase/> for details. You may need change
default if you simple copy an DocBook document without copying ref‐
erenced files nor changing "fileref" attributes. On this case set
XML base to orginal location. Note, URI is required not (unix) file
name.
-v, --verbose
Increase verbosity level.
-q, --quiet
Decrease verbosity level.
-V, --version
Dump version information and exit.
-h, -?, --help
Dump help screen and exit.
--man
Show this manual page and exit.
LOCAL OBJECTS
Local objects are special files (pictures, audio files, ...) in direc‐
tories specified by --lo-dirs option. If DocBook document refer (via
"fileref" attribute) to this directory, the files are copied (or moved)
to local "Local Objects Directory" specified by --lo-dir option. More‐
ower all files with same name and differ suffix (after last dot) are
copied (or moved) too.
BUGS AND TODO
· There is no support for attributes "parse" and "encoding" in
"xi:include" element yet.
· There is no support for "xi:fallback" element yet.
SEE ALSOdbautosplit(3), "DocBook: The Definitive Guide" <http://www.doc‐
book.org/tdg/en/html/docbook.html>
AUTHOR
Martin Lazar <mlazar@suse.cz>
0.6 2004-01-27 DBMERGE(1)