From http://www.w3schools.com (Copyright Refsnes Data)

XSL-FO Lists

previous next

XSL-FO uses List Blocks to define lists.


XSL-FO List Blocks

There are four XSL-FO objects used to create lists:

An XSL-FO list example:

<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 from this code would be:


 * Volvo
 * Saab
 


previous next

From http://www.w3schools.com (Copyright Refsnes Data)