You use masters to create templates for pages, page sequences, and regions . The <fo:layout-master-set> element contains all the masters used in the document, including page sequence masters, page masters, and region masters, which you apply to create page sequences, pages, and regions.
Page masters are templates for individual pages; page sequence masters are templates for sequences of pages; and region masters enable you to format specific regions in a page. In this example, I create a single page master using <fo:simple-page-master>.
You list the masters you want to use in the document in the <fo:layout-master-set> element, so I add that element to planets.xsl now:
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> <xsl:template match="PLANETS"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> . . . </fo:layout-master-set> . . .
This element contains the page master, as specified with an <fo:simple-page-master> element.