XSL-FO layout-master-set Object

## XSLFO Tutorial

XSLFO HOME XSLFO Intro XSLFO Documents XSLFO Areas XSLFO Output XSLFO Flow XSLFO Pages XSLFO Blocks XSLFO Lists XSLFO Tables XSLFO & XSLT XSLFO Software

## XSLFO Reference

XSLFO Objects

# XSL-FO layout-master-set Object

## Definition and Usage

The <fo:layout-master-set> object holds all masters used in a document.

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

Note: The master-name of each child of the <fo:layout-master-set> must be unique within the document.

## Syntax

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

## Properties

NONE

### Example 1

XSL-FO documents have a structure like this:

<?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>

## Your suggestion:

Your E-mail (optional):

Page address:

Description:

Close [X]

## Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

## WEB HOSTING

Best Web Hosting UK Reseller Hosting Wow! $5 SSD Hosting

## WEB BUILDING

Download XML Editor
FREE Website BUILDER FREE Website Creator

## WEB RESOURCES

Web Statistics Web Validation

## SHARE THIS PAGE