Impact of start-indent on list-item-body

This section provides a tutorial example showing the impact of start-indent attribute on list-item-body. By default, item-body area is overlapped with item-label area.

The most important attribute you need to know when building a list block is the list-item-body[@start-indent] attribute. It is used to push the item body content away from the left edge. If you use the default value of "0pt", the item body content will be overlapped with the item label content.

Here is my tutorial example,, that has a very simple list block with different list-item-body[@start-indent] values:

<?xml version="1.0" encoding="utf-8"?>
 - Copyright (c) 2016,, All Rights Reserved.
<fo:root xmlns:fo="">
  <fo:simple-page-master master-name="page" 
   margin="0.1in" page-height="5in" page-width="5in">
   <fo:region-body region-name="body" background-color="#eeffff"/>
 <fo:page-sequence master-reference="page">
  <fo:flow flow-name="body">
    font-weight="bold">New Features of XSL-FO 1.1:</fo:block>
 <fo:list-item margin-top="10pt">
  <fo:list-item-body start-indent="26pt">
   <fo:block>Multiple flows and flow mapping - 
    Allowing flowing text to be mapped into multiple explicit regions
    on a page. This allows for more newspaper-like typesetting.
 <fo:list-item margin-top="10pt">
  <fo:list-item-body start-indent="16pt">
   <fo:block>Bookmarks - 
   Allowing the format to specify a string of text in a separate 
   window that can be selected by the user. When selected, the 
   document window scrolls immediately to a specific region of 
   the document.
 <fo:list-item margin-top="10pt">
  <fo:list-item-body start-indent="6pt">
   <fo:block>Indexing - 
   Supporting the generation of an index that might be found at the 
   back of a book. This is done through referencing of properly 
   marked-up elements in the FO document.

If you process this example XSL-FO document with Apache FOP, you will see how list-item-body[@start-indent] value affects the location of an item body:

Impact of start-indent on list-item-body

Last update: 2016.

Table of Contents

 About This XSL-FO Tutorial Book

 Introduction of XSL-FO

 Apache™ FOP (Formatting Objects Processor)

 RenderX XEP as an XSL-FO Tool

 Introduction of Area Model

 XSL-FO Document Basics and Examples

 Page Layout Masters

 Block-Level Formatting Objects

 Inline-Level Formatting Objects

 Including Graphics in XSL-FO document

 Table of Rows and Columns

List, Item, Label, and Body

 List Formatting Object Tree

Impact of start-indent on list-item-body

 Area Model of List Item, Label and Body

 Floating Blocks - "float" and "footnote"

 Hyperlinks, Table of Contents and Indexes

 Headers and Footers using "static-content"

 Font Attributes and Font Families

 Apache FOP Font Configurations

 RenderX XEP Font Configurations


 PDF Printing Version