Latest web development tutorials

XSL-FO layout-master-set target

XSL-FO Reference Manual XSL-FO Reference Manual

Definition and Usage

<Fo: layout-master-set> save all objects in the document using the host (master).

Note: <fo: root> is <fo: layout-master-set > parent.

Note: <fo: layout-master- set> of each subclass host name (master-name) in the document must be unique.


grammar

<fo:layout-master-set>
<!--
Contents:(simple-page-master|page-sequence-master)+
-->
</fo:layout-master-set>

Attributes

no

Example 1

XSL-FO document is structured 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>


XSL-FO Reference Manual XSL-FO Reference Manual