<book>
The <book> element is a root-level document type for longer works
organized into chapters or parts. A book may also have
<frontmatter>, <backmatter>,
and document-wide metadata in <docinfo>.
Syntax
Attributes
| Attribute | Required? | Values |
|---|---|---|
component = "…" | optional | string |
label = "…" | optional | string |
xml:id = "…" | optional | string |
xml:lang = "…" | optional | string |
Children
The following may appear as children:<backmatter> <chapter> <frontmatter> <idx> <part> <plaintitle> <shorttitle> <subtitle> <title> <worksheet> Parents
This element may appear as an immediate child of the following elements:<pretext>
Examples
<book>
<title>Discrete Mathematics</title>
<frontmatter>
<titlepage><titlepage-items /></titlepage>
</frontmatter>
<chapter>
<title>Counting</title>
<p>We begin with basic counting techniques.</p>
</chapter>
<backmatter>
<references><title>References</title></references>
</backmatter>
</book>