How to use list elements
A simple list with bullets in list-item-label
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
<!-- list start --> <fo:list-block > <!-- list item --> <fo:list-item> <!-- insert a bullet --> <fo:list-item-label> <fo:block> <fo:inline font-family="Symbol">&amp;#183;</fo:inline> </fo:block> </fo:list-item-label> <!-- list text --> <fo:list-item-body> <fo:block> here is text in the list item body </fo:block> </fo:list-item-body> </fo:list-item>

[other list items...]

</fo:list-block> <!-- end list -->

Doing it better
The distance between the bullets and the list text in the example on the previous page is too large. You can define this distance and some more. Here is an overview how to specify what aspects of a list
image from the w3c xsl working draft 18.10.2000 (full info in list2.fo)
This is the same list with a defined provisional-distance-between-starts (0.3cm) and provisional-label-separation (0.15cm).
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
<!-- list start --> <fo:list-block provisional-distance-between-starts="0.3cm" provisional-label-separation="0.15cm"> <!-- list item --> <fo:list-item> <!-- insert a bullet --> <fo:list-item-label> <fo:block> <fo:inline font-family="Symbol">&amp;#183;</fo:inline> </fo:block> </fo:list-item-label> <!-- list text --> <fo:list-item-body> <fo:block> here is text in the list item body </fo:block> </fo:list-item-body> </fo:list-item>

[other list items...]

</fo:list-block> <!-- end list -->
A simple list with text before and after
This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text.
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text.
A list with longer text
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
A simple list with long labels
This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text.
label 1)
here is text in the list item body
lab. 2)
here is text in the list item body
lab. 3)
here is text in the list item body
lab. 4)
here is text in the list item body
lab. 5)
here is text in the list item body
This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text.
A long list
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
·
here is text in the list item body
A nested list with justified text
This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here comes a nested list with numbers

1.)
nested list item
2.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
3.)
nested list item
4.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
5.)
nested list item
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text.
<!-- list level 1 --> <fo:list-block provisional-distance-between-starts="0.4cm" provisional-label-separation="0.15cm">

<!-- list item --> <fo:list-item start-indent="0.5cm"> <!-- insert a bullet --> <fo:list-item-label> <fo:block><fo:inline font-family="Symbol">&#183;</fo:inline></fo:block> </fo:list-item-label> <!-- list text --> <fo:list-item-body> <fo:block text-align="justify"> here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. </fo:block> </fo:list-item-body> </fo:list-item>

<!-- list item --> <fo:list-item start-indent="0.5cm"> <!-- insert a bullet --> <fo:list-item-label> <fo:block><fo:inline font-family="Symbol">&#183;</fo:inline></fo:block> </fo:list-item-label> <!-- list text --> <fo:list-item-body> <fo:block text-align="justify">here comes a nested list with numbers

<!-- start nested list --> <!-- list level 1 --> <fo:list-block provisional-distance-between-starts="0.7cm" provisional-label-separation="0.15cm">

<!-- nested list item --> <fo:list-item start-indent="0.5cm"> <!-- insert a number --> <fo:list-item-label> <fo:block text-align="end">1.)</fo:block> </fo:list-item-label> <!-- list text --> <fo:list-item-body> <fo:block text-align="justify"> nested list item </fo:block> </fo:list-item-body> </fo:list-item>

[more item in nested list ...]

</fo:list-block > <!-- end nested list -->

<!-- continuing list--> </fo:block> </fo:list-item-body> </fo:list-item>

[more item in list ...]

</fo:list-block> <!-- end list -->

A long nested list
This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here comes a nested list with numbers

1.)
nested list item
2.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
3.)
nested list item
4.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
5.)
nested list item
6.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
7.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
8.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
9.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
10.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
11.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
12.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
13.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
14.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
15.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
16.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
17.)
nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text. nested list item with more text.
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
·
here is text in the list item body
·
here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body.
This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. This is normal text.