<?xml version="1.0" encoding="UTF-8" ?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xml:lang="en">
	<fo:layout-master-set>
		<fo:simple-page-master page-height="297mm" page-width="210mm" margin-top="10mm" margin-left="20mm" margin-right="20mm" margin-bottom="10mm" master-name="PageMaster">
			<fo:region-before border-style="solid" border-width="medium" extent="16mm"/>
			<fo:region-after border-style="dotted" border-width="medium" extent="16mm"/>
			<fo:region-start border-style="solid" border-width="thin" extent="8mm"/>
			<fo:region-end border-style="solid" border-width="thin" extent="8mm"/>
			<fo:region-body border-style="dashed" border-width="thick" margin-top="20mm" margin-left="10mm" margin-right="10mm" margin-bottom="20mm"/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence initial-page-number="1" master-reference="PageMaster">
		<fo:static-content flow-name="xsl-region-start">
			<fo:block font-family="Arial" font-size="15pt">L</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="xsl-region-end">
			<fo:block font-family="Arial" font-size="15pt">R</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="xsl-region-before">
			<fo:block font-size="8pt">
				<fo:external-graphic src="url('img/antenna-en.png')" content-height="11mm"/>
				XSL FO Sample Copyright &#xA9; 2002-2005 Antenna House, Inc. All rights reserved.
			</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="xsl-region-after">
			<fo:block text-align="center" font-family="Arial" font-size="15pt">Bottom</fo:block>
		</fo:static-content>

		<fo:flow flow-name="xsl-region-body">
			<fo:block text-indent="1em" font-family="Arial" font-size="20pt" font-weight="bold" background-color="#EEEEEE" line-height="20mm">
				Specify the border to the region
			</fo:block>
						<fo:block space-before="1em" padding-start="3mm" padding-end="3mm">
				<fo:block>In XSL-FO Specification, the width of padding and border specified for fo:region-xxx should be 0. XSL Formatter V3.1 supports the values other than 0 of these properties. </fo:block>
<fo:block start-indent="1em" white-space-treatment="preserve" linefeed-treatment="preserve">
&lt;fo:region-before border-style=&quot;solid&quot; border-width=&quot;medium&quot; extent=&quot;16mm&quot;/&gt;
			&lt;fo:region-after border-style=&quot;dotted&quot; border-width=&quot;medium&quot; extent=&quot;16mm&quot;/&gt;
			&lt;fo:region-start border-style=&quot;solid&quot; border-width=&quot;thin&quot; extent=&quot;8mm&quot;/&gt;
			&lt;fo:region-end border-style=&quot;solid&quot; border-width=&quot;thin&quot; extent=&quot;8mm&quot;/&gt;
			&lt;fo:region-body border-style=&quot;dashed&quot; border-width=&quot;thick&quot; margin-top=&quot;20mm&quot;
margin-left=&quot;10mm&quot; margin-right=&quot;10mm&quot; margin-bottom=&quot;20mm&quot;/&gt;
</fo:block>
<fo:block  space-before="1em" >Each region can have the border of some styles and the thickness like this example. </fo:block>
			</fo:block>
		</fo:flow>

	</fo:page-sequence>
</fo:root>

