当前位置: 首页 > 网络学院 > XML相关教程 > XSL-FO > XSL-FO layout-master-set 对象

XSL-FO
XSL-FO 介绍
XSL-FO 文档
XSL-FO 区域
XSL-FO 输出
XSL-FO 流程
XSL-FO 页面
XSL-FO 块状区域
XSL-FO 列表
XSL-FO 表格
XSL-FO 和 XSLT
XSL-FO 软件
XSL-FO 参考资料

XSL-FO layout-master-set 对象


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 212 ::
收藏到网摘: n/a

Definition and Usage
定义和用法

The <fo:layout-master-set> object holds all masters used in a document.
<fo:layout-master-set>对象了所有在文档中使用的宿主。

Note: <fo:root> is the parent of <fo:layout-master-set>.
注意:<fo:root>是<fo:layout-master-set>的父类。

Note: The master-name of each child of the <fo:layout-master-set> must be unique within the document.
注意:<fo:layout-master-set>中每个子类的宿主名在文档中必须是独一无二的。


Syntax
语法

<fo:layout-master-set> <!--	Contents:(simple-page-master|page-sequence-master)+ -->
</fo:layout-master-set>

Properties
属性

NONE无

Example 1
案例1

XSL-FO documents have a structure like this:
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>

评论 (0) All

登陆 | 还没注册?