May 28, 2021 XSL-FO
The object is the root (top-level) node of the XSL-FO document.
The sub-class of the object is a separate .
Note: An XSL-FO document can contain multiple objects (for example, each chapter of a document can be treated as a separate .lt;fo:page-sequence-gt; object - it allows the use of chapper-specific content, such as the title of a chapter, which can be placed in the header or footer).
<fo:root>
<!--
Children:layout-master-set,declarations?,
page-sequence+
-->
</fo:root>
Attributes |
---|
media-usage |
The structure of the XSL-FO document is as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4">
<!-- Page template goes here -->
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="A4">
<!-- Page content goes here -->
</fo:page-sequence>
</fo:root>