Xslfo Lists
# XSL-FO Lists
* * *
XSL-FO uses the element to define lists.
* * *
## XSL-FO List Blocks
There are four XSL-FO objects used to create lists:
* fo:list-block (contains the whole list)
* fo:list-item (contains each item in the list)
* fo:list-item-label (contains the label for the list-item β typically, a containing a number or character)
* fo:list-item-body (contains the content/body of the list-item β typically, one or more objects)
An XSL-FO list example:
*
Volvo
*
Saab
The output of the above code is shown below:
* Volvo
* Saab
YouTip