Up: Elements reference



<mainmatter> – the text contents

No attributes.

Possible Contents: (part | chapter)*, appendix?

Description: All parts and chapters of a book.

Example

     <mainmatter>
       <chapter kind="preface">
         <heading>Preface</heading>
     
         <p>...</p>
       </chapter>
     
       <!-- Here will be the table of contents. -->
     
       <chapter kind="introduction">
         <heading>Introduction</heading>
     
         <p>...</p>
       </chapter>
     
       <part id="sec:Preparation">
         <heading>Preparation</heading>
     
         <chapter id="sec:Samples">
           <heading>Samples</heading>
     
           <p>...</p>
         </chapter>
     
         <chapter id="sec:Equipment">
           <heading>Equipment and Techniques</heading>
     
           <p>...</p>
         </chapter>
     
       </part>
     
       <appendix>
     
         <chapter id="sec:Blueprints">
           <heading>Blueprints</heading>
     
           <p>...</p>
         </chapter>
     
       </appendix>
     </mainmatter>