What Is XSL-FO Language


What Is XSL-FO Language?

✍: FYIcenter.com


XSL-FO (Extensible Stylesheet Language - Formatting Objects) is an XML based language that can be used to describes the way pages are set up. The contents of the pages are filled from flows. There can be static flows that appear on every page (for headers and footers) and the main flow which fills the body of the page.

XSL-FO is the second part of the XSL specification defined by W3C, Extensible Stylesheet Language (XSL) Version 1.1. The first part of the XSL specification is XSLT (Extensible Stylesheet Language Transformation).

XSLT and XSL-FO are normally used in a two-step process that takes data in XML format as input and produces paginated output as shown in this diagram:
XSL-FO Language - Two-Step Process

The first step uses XSLT to transform the source XML tree to a FO (Formatting Objects) tree.

The second step uses Formatting Objects processors to generate outputs specific to different output devices.


⇒ Hello Example of XSL-FO - Hello.fo

⇐ What Is FOP (Formatting Objects Processor)

⇑ Introduction of FOP

⇑⇑ FAQ for FOP (Formatting Object Processor)

2015-11-26, 1647👍, 0💬