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.

Processing expectations

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.

Specifying the output format for lists is not part of the normative definition of DocBook. However, the tabular and list formats are supported in the open source DocBook stylesheets using the list-presentation attribute on the <?dbhtml> and <?dbfo> processing instructions. The examples on this reference page show how to use these processing instructions.

Parents [+]

This element occurs in 73 elements.


The following elements occur in segmentedlist: info (, info (, seglistitem, segtitle, title, titleabbrev.


  1 <article xmlns=''>
  2 <title>Example segmentedlist</title>
  4 <para>The capitals of the states of the United States of America are:
  6 <segmentedlist><title>State Capitals</title>
    <?dbhtml list-presentation="list"?>
  8 <?dbfo   list-presentation="list"?>
 10 <segtitle>Capital</segtitle>
 12 <seglistitem><seg>Alaska</seg><seg>Juneau</seg></seglistitem>
    <seglistitem><seg>Arkansas</seg><seg>Little Rock</seg></seglistitem>
 14 </segmentedlist>
 16     </para>

The capitals of the states of the United States of America are:

State Capitals
State: Alabama
Capital: Montgomery
State: Alaska
Capital: Juneau
State: Arkansas
Capital: Little Rock

  1 <article xmlns=''>
  2 <title>Example segmentedlist</title>
  4 <para><segmentedlist><title>State Capitals</title>
    <?dbhtml list-presentation="table"?>
  6 <?dbfo   list-presentation="table"?>
  8 <segtitle>Capital</segtitle>
 10 <seglistitem><seg>Alaska</seg><seg>Anchorage</seg></seglistitem>
    <seglistitem><seg>Arkansas</seg><seg>Little Rock</seg></seglistitem>
 12 </segmentedlist>
 14     </para>

State Capitals
ArkansasLittle Rock

Last revised by Norman Walsh on 6 Jun 2011 (git hash: 6ffcc7640bbc5f852a318e452c9f210f03292cb9)