XSL-FOのルートオブジェクト
定義と使用法
<Foは:ルート>オブジェクトルートXSL-FO文書(上)のノードです。
<Foは:ルート>サブクラスオブジェクトは<FO:レイアウト・マスター設定>別々であるオブジェクト(文書のマスタ内のすべてのページを保持する[マスタ])、オプションの<FO:宣言>オブジェクト:<ページシーケンスFO>オブジェクト、および1つ以上。
注:XSL-FO文書に含めることができる複数の<foは:ページ系列>オブジェクト(例:文書の各章では、スタンドアローンとして使用することができます。<FO:page-sequenceの>オブジェクト-それはの使用を可能章固有の固有の[などの章]コンテンツ:チャプターのタイトルは、それがヘッダまたはフッタ)に配置することができます。
文法
<fo:root>
<!--
Children:layout-master-set,declarations?,
page-sequence+
-->
</fo:root>
<!--
Children:layout-master-set,declarations?,
page-sequence+
-->
</fo:root>
プロパティ
属性 |
---|
media-usage |
例1
次のようにXSL-FO文書が構造化されています。
<?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>
<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>
XSL-FOのリファレンスマニュアル