XSL-FO tutorials for Beginners: XSL-FO documentation

Source: Internet
Author: User
A XSL-FO document is an XML file with output information. The XSL-FO document is an XML file with output information. They contain information about the output layout and output content. XSL-FO documents are stored in files suffixed with. fo or. fob. Take. xml

A XSL-FO document is an XML file with output information.

XSL-FO documentation

A XSL-FO document is an XML file with output information. They contain information about the output layout and output content.

XSL-FO documents are stored in files suffixed with. fo or. fob. It is also common for XSL-FO documents stored with. xml suffixes to make XSL-FO documents more accessible by the XML editor.

Structure of XSL-FO documentation

The document structure of the XSL-FO is similar to this:

Reference content is as follows:










Structure Description

The XSL-FO document is an XML document, because it also needs to start with XML declaration:

Reference content is as follows:

An element is the root element of the XSL-FO document. This root element also declares the namespace for the XSL-FO:




The element contains one or more page templates:




The element contains a single page template. Each template must have a unique name (master-name ):




One or more Elements can describe the content of the page. The master-reference attribute applies the same name to reference the ***-page-master template:




Note: the value of master-reference "A4" does not actually describe a predefined page pattern. It is just a name. You can apply any name, such as "MyPage" and "MyTemplate.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.