当前位置: 首页 > 网络学院 > XML相关教程 > XSL-FO > XSL-FO 输出
XSL-FO defines output inside <fo:flow> elements.
XSL-FO 在<fo:flow> 元素中定义输出结果。
"Blocks" of content "Flows" into "Pages" and then to the output media.
“块状区域”的内容首先进入“页面”,然后再由指定的媒体输出。
XSL-FO output is normally nested inside <fo:block> elements, nested inside <fo:flow> elements, nested inside <fo:page-sequence> elements:
XSL-FO 的输出结果通常被嵌套在<fo:block>元素、<fo:flow>元素、以及<fo:page-sequence>元素中,具体如下:
<fo:page-sequence> |
It is time to look at a real XSL-FO example:
下面列举一个关于XSL-FO的实际案例:
<?xml version="1.0" encoding="ISO-8859-1"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> </fo:root> |
The output from this code would be something like this:
上述代码应该输出下述结果:
Hello ruanchen.com
|