DBMERGE



DBMERGE

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
LOCAL OBJECTS
BUGS AND TODO
SEE ALSO
AUTHOR

NAME

dbmerge − merge splited DocBook document

SYNOPSIS

dbmerge [options] input_file [output_file]

dbmerge −−help

DESCRIPTION

dbmerge process "xi:include" elements (see <http://www.w3.org/TR/xinclude/>). 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 specified 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 referenced 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 directories 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. Moreower 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 ALSO

dbautosplit(3), "DocBook: The Definitive Guide" <http://www.docbook.org/tdg/en/html/docbook.html>

AUTHOR

Martin Lazar <mlazar@suse.cz>






Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.