Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XSL-FO root Object

XSL-FO root Object

XSL-FO Reference Manual XSL-FO Reference Manual


Definition and Usage

fo:root The object is the root (top-level) node of an XSL-FO document.

fo:root Its children are a single fo:layout-master-set object (which holds all page masters used in the document), an optional fo:declarations object, and one or more fo:page-sequence object.

**Note:** An XSL-FO document can contain multiple fo:page-sequences objects (for example, each chapter of the document can be a separate fo:page-sequence object - this allows chapter-specific content, such as the chapter title, to be placed in a header or footer).


Syntax

fo:root

property

property
media-usage

Example 1

The structure of an XSL-FO document is as follows:

fo:layout-master-set


XSL-FO Reference Manual XSL-FO Reference Manual