segmentedlist — A segmented list, a list of sets of elements
 
A SegmentedList consists of a set of headings
(SegTitles) and a list of parallel sets of elements.
Every SegListItem contains a set of elements that
have a one-to-one correspondence with the headings.  Each of these
elements is contained in a Seg.
Segmented lists can be formatted in a number of ways.  Two popular
formats are tabular and as a list of repeated headings and elements.
In a tabular presentation, the SegmentedList is the table.
In the list presentation, the SegmentedList surrounds the
entire list of blocks of heading/element pairs.
These elements contain segmentedlist: annotation, answer, appendix, article, bibliodiv, bibliography, bibliolist, blockquote, callout, calloutlist, caption (db.caption), caution, chapter, colophon, constraintdef, dedication, entry, example, figure, footnote, glossary, glossdef, glossdiv, glosslist, html:fieldset, html:form, important, index, indexdiv, informalexample, informalfigure, itemizedlist, legalnotice, listitem, msgexplan, msgtext, note, orderedlist, para, partintro, preface, procedure, qandadiv, qandaset, question, refsect1, refsect2, refsect3, refsection, refsynopsisdiv, revdescription, sect1, sect2, sect3, sect4, sect5, section, setindex, sidebar, simplesect, step, taskprerequisites, taskrelated, tasksummary, td, textobject, th, tip, toc, tocdiv, variablelist, warning.
The following elements occur in segmentedlist: info (db.titleforbidden.info), info (db.titleonly.info), seglistitem, segtitle, title, titleabbrev.
<article xmlns='http://docbook.org/ns/docbook'> <title>Example segmentedlist</title> <para>The capitals of the states of the United States of America are: <segmentedlist><title>State Capitals</title> <?dbhtml list-presentation="list"?> <segtitle>State</segtitle> <segtitle>Capital</segtitle> <seglistitem><seg>Alabama</seg><seg>Montgomery</seg></seglistitem> <seglistitem><seg>Alaska</seg><seg>Anchorage</seg></seglistitem> <seglistitem><seg>Arkansas</seg><seg>Little Rock</seg></seglistitem> </segmentedlist> … </para> </article>
The capitals of the states of the United States of America are:
<article xmlns='http://docbook.org/ns/docbook'> <title>Example segmentedlist</title> <para><segmentedlist><title>State Capitals</title> <?dbhtml list-presentation="table"?> <segtitle>State</segtitle> <segtitle>Capital</segtitle> <seglistitem><seg>Alabama</seg><seg>Montgomery</seg></seglistitem> <seglistitem><seg>Alaska</seg><seg>Anchorage</seg></seglistitem> <seglistitem><seg>Arkansas</seg><seg>Little Rock</seg></seglistitem> </segmentedlist> … </para> </article>
| State | Capital | 
|---|---|
| Alabama | Montgomery | 
| Alaska | Anchorage | 
| Arkansas | Little Rock |