<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
		<fo:simple-page-master page-width="1cm" page-height="3cm" master-name="1stP">
			<fo:region-body region-name="xsl-region-body" margin-top="1cm"/>
			<fo:region-before region-name="1stBe" extent="1cm"/>
		</fo:simple-page-master>
		<fo:simple-page-master page-width="2cm" page-height="3cm" master-name="2ndP">
			<fo:region-body region-name="xsl-region-body" margin-top="1cm"/>
			<fo:region-before region-name="2ndBe" extent="1cm"/>
		</fo:simple-page-master>
		<fo:simple-page-master page-width="3cm" page-height="3cm" master-name="3rdP">
			<fo:region-body region-name="xsl-region-body" margin-top="1cm"/>
			<fo:region-before region-name="3rdBe" extent="1cm"/>
		</fo:simple-page-master>
		<fo:simple-page-master page-width="4cm" page-height="3cm" master-name="4thP">
			<fo:region-body region-name="xsl-region-body" margin-top="1cm"/>
			<fo:region-before region-name="4thBe" extent="1cm"/>
		</fo:simple-page-master>
		<fo:simple-page-master page-width="5cm" page-height="3cm" master-name="5thP">
			<fo:region-body region-name="xsl-region-body" margin-top="1cm"/>
			<fo:region-before region-name="5thBe" extent="1cm"/>
		</fo:simple-page-master>
		<fo:page-sequence-master master-name="first">
			<fo:repeatable-page-master-reference maximum-repeats="1" master-reference="1stP"/>
			<fo:repeatable-page-master-reference maximum-repeats="1" master-reference="2ndP"/>
			<fo:repeatable-page-master-reference maximum-repeats="1" master-reference="3rdP"/>
			<fo:repeatable-page-master-reference maximum-repeats="1" master-reference="4thP"/>
			<fo:repeatable-page-master-reference maximum-repeats="1" master-reference="5thP"/>
		</fo:page-sequence-master>
	</fo:layout-master-set>

	<fo:page-sequence master-reference="first">
		<fo:static-content flow-name="1stBe">
			<fo:block>Data 1</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="2ndBe">
			<fo:block>Data 2</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="3rdBe">
			<fo:block>Data 3</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="4thBe">
			<fo:block>Data 4</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="5thBe">
			<fo:block>Data 5</fo:block>
		</fo:static-content>
		<fo:flow flow-name="xsl-region-body">
			<fo:block>Doing both scrollable document windows and pagination introduces new complexities to the styling (and pagination) of XML content. Because pagination introduces arbitrary boundaries (pages or regions on pages) on the content, concepts such as the control of spacing at page, region, and block boundaries become extremely important. There are also concepts related to adjusting the spaces between lines (to adjust the page vertically) and between words and letters (to justify the lines of text). These do not always arise with simple scrollable document windows, such as those found in today's browsers. However, there is a correspondence between a page with multiple regions, such as a body, header, footer, and left and right sidebars, and a Web presentation using "frames". The distribution of content into the regions is basically the same in both cases, and XSL handles both cases in an analogous fashion.</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>

