hello.fo - Sample XSL-FO document

This section provides a sample XSL-FO document, which is an XML document with 'root' element and 'layout-master-set' and 'page-sequence' sub-elements.

Here is is a sample XSL-FO document, hello.fo:

<?xml version="1.1" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:simple-page-master master-name="my_page" margin="0.5in">
 <fo:page-sequence master-reference="my_page">
  <fo:flow flow-name="xsl-region-body">
   <fo:block>Hello world!</fo:block>

Some notes on the sample XSL-FO document:

Last update: 2016.

Table of Contents

 About This XSL-FO Tutorial Book

Introduction of XSL-FO

 What Is XSL (eXtensible Stylesheet Language)

 What Is XSLT (XSL Transformations)

 What Is XSL-FO (XSL - Formatting Objects)

hello.fo - Sample XSL-FO document

 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

 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