XSL-FO list-item-body
Object
Definition and Usage
The <fo:list-item-body>
object contains the content/body of the list-item - usually one or more <fo:block>
objects.
Below are four XSL-FO objects used to create lists:
fo:list-block (contains the entire list)
fo:list-item (contains each item in the list)
fo:list-item-label (contains the label of the list-item - typically,
<fo:block>
contains numbers, characters, etc.)fo:list-item-body (contains the content/body of the list-item - usually one or more
<fo:block>
objects)
Syntax
Attributes
Attribute |
---|
id |
keep-together |
role |
source-document |
Example 1
An XSL-FO list example:
The above code will output:
| <br>* Volvo <br>* Saab <br> |