Exemple pour un livre en DocBook version 5
<book id="coursInfodoc">
<title>Cours Informatique et documents</title>
<part id="docs">
<title>Documents structurés</title>
<chapter id="introDocs">
<title>Informatique et documents</title>
<section>...</section>
<section>
<title>Organisation de la formation</title>
<itemizedlist>...</itemizedlist>
</section>
<section>
<title>Plan du cours</title>
<itemizedlist>...</itemizedlist>
</section>
</chapter>
<!-- ... -->
</part>
<part id="web_html">
<title>Web et langage HTML</title>
<chapter id="web1">
<title>World Wide Web</title>
<section>
<title>Web</title>
<itemizedlist>...</itemizedlist>
</section>
<section>
<title>Les URL</title>
<itemizedlist>...</itemizedlist>
</section>
<!-- ... -->
</chapter>
<!-- ... -->
</part>
<part id="css">
<title>Le Langage CSS</title>
<!-- ... -->
</part>
<!-- ... -->
</book>