Noeud:Itemized List, Noeud « Next »:, Noeud « Previous »:Glossary List, Noeud « Up »:Lists



Itemized List


ItemizedList = ( ( Title, TitleAbbrev? )?,
                 ListItem+
               )

ListItem = ( (%component.mix;)+ )

Elements : ItemizedList, Title, TitleAbbrev, ListItem.

Attributes : Spacing, Mark, Override.

An ItemizedList element is used to define a list in which each member begins with a mark.

The ItemizedList element can begin with a title (Title) and an abbreviated (TitleAbbrev), and contains one or several list items (ListItem).

DocBook does not specify the mark or marks which have to be used for the representation of the list. This is the role of the processing system.

The Mark attribute of the ItezmizedList element is needed to specify the mark to use. This attribute get a keyword for value. DocBook does not specify a list of appropriate keywords, but the processing system have to do it.

The Override attribute of the ListItem element is used to specify a different mark for this list item only.

The Spacing attribute of the ItemizedList element indicates if the list must be vertically compacted. This attribute can get the values Normal or Compact, and does not have a default value.

<itemizedlist spacing="normal" mark="bullet">
  <listitem>
    <simpara>A first point</simpara>
  </listitem>
  <listitem>
    <para>An overlapped list:
      <itemizedlist spacing="compact">
        <listitem>
          <simpara>A first point in the overlapped list</simpara>
        </listitem>
        <listitem>
          <simpara>A second point</simpara>
        </listitem>
      </itemizedlist>
    </para>
  </listitem>
  <listitem override="none">
    <simpara>A last point, without marks.</simpara>
  </listitem>
</itemizedlist>