You want create topic oriented documents with the
assembly element manually.
In its simplest form, an assembly file contains the following elements:
assemblyThe root element of an assembly file. It is bound to the
DocBook 5 namespace
http://docbook.org/ns/docbook.
resourcesWrapper element for a collection of topics. Each topic
is identified by a resource element and its xml:id or fileref attributes:
<resource xml:id="preface" fileref="preface.xml"/>
An assembly file can contain more than one
resource elements.
structureWrapper element for a document to be assembled.
Primarily it contains of modules which refers to
a resource elements.
The following example assumes, the files are composed of
topic root elements, except for the
glossary.xml file (which is comprised by a
glossary element).
<assembly version="5.1" xmlns="http://docbook.org/ns/docbook">
<resources>
<resource fileref="intro.xml" xml:id="intro"/>
<resource fileref="kde.xml" xml:id="kde"/>
<resource fileref="gnome.xml" xml:id="gnome"/>
<resource fileref="glossary.xml" xml:id=""/>
</resources>
<structure xml:id="user-guide">
<output renderas="book"/>
<module resourceref="intro"/>
<module resourceref="kde"/>
<module resourceref="gnome"/>
<module resourceref="glossary"/>
</structure>
</assembly>TDB
| Project@GitHub | Issue#8 |