<?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-height="279mm" page-width="216mm" margin-top="10mm" margin-left="20mm" margin-right="20mm" margin-bottom="10mm" master-name="PageMaster">
			<fo:region-before border-style="none" border-width="thin" extent="15mm"/>
			<fo:region-body border-style="none" border-width="thin" margin-top="20mm" margin-left="0mm" margin-right="0mm" margin-bottom="20mm"/>
			<fo:region-after border-style="none" border-width="thin" extent="15mm"/>
		</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-before">
			<fo:block font-size="9pt">
				<fo:external-graphic src="url('img/antenna-en.png')" content-height="12mm"/>
				XSL FO Sample Copyright &#xA9; 2002-2005 Antenna House, Inc. All rights reserved.
			</fo:block>
		</fo:static-content>
		<fo:flow flow-name="xsl-region-body">
			<fo:block text-indent="1em" font-family="sans-serif" font-size="20pt" font-weight="bold" background-color="#EEEEEE" line-height="20mm">
				Writing direction in vertical mode "tb-rl"
			</fo:block>

<fo:block space-before="2em" space-after="2em" space-after.conditionality="retain">Here is an example of writing text in vertical mode partially within a page.</fo:block>
<fo:block>				<fo:block-container writing-mode="tb-rl" width="160mm" height="70mm" text-indent="1em" font-size="12pt" text-align="justify">
					<fo:block>文書類の電子化の方法として1986年に SGML が ISO 標準となった。拡張性/構造性/正規性にすぐれた仕様であり、1990年には特許庁の電子出願のフォーマットに採用されたが、500ページを超える膨大な規約は理解しづらく、導入するにあたり初期費用がかさむといった問題点があった。</fo:block>
					<fo:block>次に SGML の機能の一部を限定して利用する HTML が出てきたが、その仕様はパソコンのディスプレイにどのように情報を表示するのか、といった部分に力点が置かれ、文書構造の表現やコンテンツの再利用といった部分での問題点がある。</fo:block>
					<fo:block>そこで文書構造がしっかり（自由に）定義でき、文書の再利用が容易なデータ保存フォーマットとして XML が考えられた。</fo:block>
					<fo:block>XML は文書を構成する三大要素「内容」「構造」「体裁」を分離して扱うことで、情報の再利用やメディアに依存しない出力、情報の部分的利用といった部分ですぐれた特性を持っている。</fo:block>
				</fo:block-container>
<fo:block space-before="2em" space-before.conditionality="retain">As this example shows, it is possible to write a text whose writing mode is a mixture of vertical and horizontal. </fo:block>
			</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>

