May 28, 2021 XSL-FO
How do I define a list in XSL-FO?
XSL-FO defines the list using the elements of the .lt;fo:list-block-gt;
There are four XSL-FO objects that you can use to create a list:
An example of an XSL-FO list:
<fo:list-block>
<fo:list-item>
<fo:list-item-label>
<fo:block>*</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block>Volvo</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label>
<fo:block>*</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block>Saab</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
The output of the code above looks like this:
* Volvo
* Saab |