XSL-FO beginner Tutorial: XSL-FO output and stream

Source: Internet
Author: User
The XSL-FO defines the output within the fo: flow element. The XSL-FO Page, Flow, and Block content blocks Flow into the Page and then output to the media. XSL-FO output is usually nested in the fo: block element, the fo: block is nested in the fo: flow element, and the fo: flow is embedded

XSL-FO in Defines the output of the element.

Page, Flow, and Block)

The content "block" will "stream" into the "page" and then output to the media.

XSL-FO output is usually nested in Element, Nested in Element, Nested in Element:

Reference content is as follows:






XSL-FO instance

Now let's look at a real XSL-FO instance:

Reference content is as follows:








Hello W3Schools


XSL-FO page application from Fill in the data of the element.

XSL-FO page order

XSL-FO application Element to define the output page.

Each output page references a page master that defines the layout.

Each output page has a defined output Element.

Each output page is printed or displayed in sequence.

XSL-FO Flow)

XSL-FO page application from Fill in the data of the element.

Contains all elements printed to the page.

When the page is fully printed, the same page master will be applied over and over again until all pages are printed.

Where is the movement?

The element has an attribute named "flow-name.

Flow-name attribute value definition Where is the content of an element.

Valid value:

Xsl-region-body (entering region-body)

Xsl-region-before (entering region-before)

Xsl-region-after (enter region-after)

Xsl-region-start (entering region-start)

Xsl-region-end (entering region-end)



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.