XSL-FO list-item-label Object
Definition and Usage
The <fo:list-item-label> object contains the list-item label - typically, a <fo:block> containing numbers, characters, etc.
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 list-item label - typically, a
<fo:block>containing numbers, characters, etc)fo:list-item-body (contains the content/body of the list-item - typically 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> |