book — A book.
- Sequence of:
- If this element is the root element, it must have a version attribute.
A complete book. This is probably the most common document
starting point in DocBook documents. The content model of
book was made dramatically less restrictive in
Formatted as a displayed block. Generally causes a forced page
break, restarts page numbering, and may generate additional front and
back matter (e.g., tables of contents and indexes) automatically. In a
book almost always begins
on the next available recto page.
The input order of major components is taken to be the desired output order.
<book xmlns='http://docbook.org/ns/docbook'> <title>An Example Book</title> <titleabbrev>Example</titleabbrev> <info> <legalnotice><para>No notice is required.</para></legalnotice> <author><personname> <firstname>Norman</firstname><surname>Walsh</surname> </personname></author> </info> <dedication> <para>This book is dedicated to you. </para> </dedication> <preface><title>Foreword</title> <para>Some content is always required. </para> </preface> <chapter><title>A Chapter</title> <para>Content is required in chapters too. </para> </chapter> <appendix><title>Optional Appendix</title> <para>Appendixes are optional. </para> </appendix> </book>