<listitem> (
List Item)
Description
Description
This element holds one item of a list. This include lists with no prefix, symbol prefixes and numbered prefixes, but not definition lists (where each item is actually two components: a term and a definition).
simple item one
simple item two
simple item three
- itemized item one
- itemized item two
- itemized item three
1) sequenced item one
2) sequenced item two
3) sequenced item three
Although complete simple lists can be given an indentation value, it is also possible to give separate indentation values to list items in any of the list types (except definition lists). However, it is also possible to embed one list within another, and when this happens the inner list items should be automatically indented appropriately. Therefore, indentation values should only be used for simple list items (and entire simple lists).
Parent Elements
The elements listed below may directly contain this element.
They are "parent" elements. Elements in referenced groups are included, up to two levels of group nesting.
Model Diagram
The DTD model for this element:
--+(repeatable choice)
|
|-- para -- (TEXT and elements)
|
|-- figure -- (elements)
|
|-- formaltable -- (elements)
|
|-- graphic
|
|-- informaltable -- (elements)
|
|-- chemeqn -- (elements)
|
|-- unnumchemeqn -- (elements)
|
|-- formula -- (TEXT and elements)
|
|-- compound -- (elements)
|
|-- structure
|
|-- matheqn -- (elements)
|
|-- unnummatheqn -- (elements)
|
|-- simplelist -- (elements)
|
|-- itemizedlist -- (elements)
|
|-- orderedlist -- (elements)
|
|-- deflist -- (elements)
|
|-- extract -- (elements)
|
|-- computertext -- (TEXT and elements)
|
|-- letter -- (elements)
|
|-- address-text -- (TEXT and elements)
|
|-- comment -- TEXT
DTD Definition
The DTD contains the following element and attribute definitions
(note that embedded links are to definitions within the DTD page of this guide):
<!ELEMENT listitem (para |
figure | formaltable | graphic | informaltable |
chemeqn | unnumchemeqn | formula | compound |
structure | matheqn | unnummatheqn |
simplelist | itemizedlist | orderedlist | deflist |
extract | computertext | letter | address-text |
comment)+>
<!ATTLIST listitem
level (1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9) #IMPLIED
%a-group-CommonIDAttrs;>
.
Defined in DTD section
Block-level Content : Lists
General Attributes (shared with other elements)
Local Attributes (defined for this element alone)
Description
This attribute holds a value between "1" (the implied default) and "9". It may be used in simple lists to override the general indentation level setting for the whole list.
Specification
This attribute is not required. The allowed values are "1", "2", "3", "4", "5", "6", "7", "8" and "9".
DTD Definition
level (1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9) #IMPLIED .