| 1 | <refentry id="listitem.element"> |
| 2 | <?dbhtml filename="listitem.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>listitem</secondary></indexterm> |
| 11 | <refentrytitle>listitem</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>listitem</refname> |
| 16 | <refpurpose>&listitem.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &listitem.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | The <sgmltag>ListItem</sgmltag> element is a wrapper around an item in a list. |
| 24 | In an <sgmltag>ItemizedList</sgmltag> or an <sgmltag>OrderedList</sgmltag>, the |
| 25 | <sgmltag>ListItem</sgmltag> surrounds the entire list item. |
| 26 | In a <sgmltag>VariableList</sgmltag>, <sgmltag>ListItem</sgmltag> surrounds the |
| 27 | <quote>definition</quote> part of the list item. |
| 28 | </para> |
| 29 | |
| 30 | <refsect2 id="dbreproc.listitem"><title>Processing expectations</title> |
| 31 | <para> |
| 32 | &format.block; List items usually generate the appropriate mark |
| 33 | (a number or bullet) and appear indented, next to the mark. In a |
| 34 | <sgmltag>VariableList</sgmltag>, the presentation may be influenced by |
| 35 | the length of the <sgmltag>Term</sgmltag> or <sgmltag>Term</sgmltag>s that precede |
| 36 | the list item and by attributes on the list itself. |
| 37 | </para> |
| 38 | </refsect2> |
| 39 | |
| 40 | |
| 41 | |
| 42 | &listitem.parents.gen; |
| 43 | &listitem.children.gen; |
| 44 | </refsect1> |
| 45 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 46 | <variablelist> |
| 47 | <varlistentry><term>override</term> |
| 48 | <listitem> |
| 49 | <para> |
| 50 | <sgmltag class="attribute">Override</sgmltag> specifies the keyword for the type |
| 51 | of mark to be used on <emphasis>this</emphasis> <sgmltag>ListItem</sgmltag> instead of |
| 52 | the mark currently in use for the list. |
| 53 | </para> |
| 54 | </listitem> |
| 55 | </varlistentry> |
| 56 | </variablelist> |
| 57 | </refsect1> |
| 58 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 59 | &listitem.seealso.gen; |
| 60 | </refsect1> |
| 61 | <refsect1><title>Examples</title> |
| 62 | |
| 63 | &listitem.example.seealso.gen; |
| 64 | </refsect1> |
| 65 | </refentry> |
| 66 |