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

XSL-FO Lists

« Previous Next Chapter »

XSL-FO uses the <fo:list-block> element 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 the code above would be something like this:

 * Volvo
 * Saab

« Previous Next Chapter »

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