<list>¶
Mandatory attribute:
@list-type
Appears in |
Frequency |
---|---|
Zero or more times |
|
Zero or more times |
|
Zero or more times |
|
|
Zero or more times |
Zero or more times |
|
Zero or more times |
Element used to identify one list that contains one or more itens. I could have an optional element <title>
or a element <label>.
The attribute @list-type
specifies the prefix to be used in the list. The allowed values are:
Value |
Description |
---|---|
order |
Ordered list which prefix is a number |
bullet |
Unordered list, which prefix is a bullet (circle) |
alpha |
Ordered list which prefix is a alpha character |
roman |
Ordered list which prefix is a roman number |
simple |
Unordered list without a prefix |
Examples:
Example of a ordered list:¶
Donec rhoncus
Nullam gravida tellus eget condimentum egestas.
Donec pulvinar odio ut enim lobortis, eu dignissim elit accumsan.
Vestibulum urna elit, auctor ac fringilla ac, sagittis in ex.
...
<list list-type="order">
<title>Donec rhoncus</title>
<list-item>
<p>Nullam gravida tellus eget condimentum egestas.</p>
</list-item>
<list-item>
<p>Donec pulvinar odio ut enim lobortis, eu dignissim elit accumsan.</p>
</list-item>
<list-item>
<p>Vestibulum urna elit, auctor ac fringilla ac, sagittis in ex.</p>
</list-item>
</list>
...
Example of an ordered list with sub-itens:¶
Vivamus cursus
- Nullam gravida tellus eget condimentum egestas.
1.1. Curabitur luctus lorem ac feugiat pretium.
Donec pulvinar odio ut enim lobortis, eu dignissim elit accumsan.
...
<list list-type="order">
<title>Vivamus cursus</title>
<list-item>
<p>Nullam gravida tellus eget condimentum egestas.</p>
<list list-type="order">
<list-item>
<p>Curabitur luctus lorem ac feugiat pretium.</p>
</list-item>
</list>
</list-item>
<list-item>
<p>Donec pulvinar odio ut enim lobortis, eu dignissim elit accumsan.</p>
</list-item>
</list>
...
Example of an unordered list with bullets:¶
Nam commodo
Morbi luctus elit enim.
Nullam nunc leo.
Proin id dui lorem.
Nunc finibus risus.
...
<list list-type="bullet">
<title>Nam commodo</title>
<list-item>
<p>Morbi luctus elit enim.</p>
</list-item>
<list-item>
<p>Nullam nunc leo.</p>
</list-item>
<list-item>
<p>Proin id dui lorem.</p>
</list-item>
<list-item>
<p>Nunc finibus risus.</p>
</list-item>
</list>
...