XSL-FO root Object
Definition and Usage
The <fo:root> object is the root (top-level) node of an XSL-FO document.
The children of the <fo:root> object are a single <fo:layout-master-set> object (which holds all the page masters used in the document), an optional <fo:declarations> object, and one or more <fo:page-sequence> objects.
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 - it allows for chapter-specific content, such as chapter titles, which can be placed in the header or footer).
Syntax
Attributes
| Attribute |
|---|
| media-usage |
Example 1
The structure of an XSL-FO document is as follows: