Chapter 3. Lists

Table of Contents

3.1. The simplelist
3.2. The itemizedlist
3.3. The orderedlist
3.4. The variablelist
3.5. The segmentedlist
3.6. qandaset
3.7. Procedures

Elements related to DocBook lists are shown below. DocBook lists are very similar to their counterparts in HTML except that DocBook contains several more types of lists for specialized purposes.

3.1. The simplelist

The easiest of all the lists to use is the simplelist. It is designed for lists of short phrases (like a grocery list) and only requires two tags for building the list as you can see in the example below. The <member> tag can only contain inline content, so a simplelist cannot contain other lists.

Example 3.1. A simplelist

<simplelist type="inline">
<member>Apples</member>
<member>Oranges</member>
<member>Bananas</member>
<member>Grapefruit</member>
<member>Black Beans</member>
</simplelist>

When converted, a simplelist will look something like this: Apples, Oranges, Bananas, Grapefruit, Black Beans