How to use XSL-FO Page Sequences in XML
In this article I will explain XSL-FO Page Sequences in XML with example
XSL-FO Page Sequences in XML
-
XSL-FO uses <fo:page-sequence> elements to define output pages.
-
XSL-FO Page Sequence is the parent element of the component Flow.
-
XSL-FO Page-sequence comes immediately after the layout-master
-
XSL-FO output page refers to a page master which defines the layout.
-
XSL-FO output page has a <fo:flow> element defining the output.
-
XSL-FO output page is printed (or displayed) in sequence.
-
XSL-FO works in a similar fashion of HTML but the <head> sections is layout-master-set and the <body> is the page-sequence.
Example
This example show XSL-FO Flow formatting object in XML
<fo:layout-master-set>
<fo:simple-page-master>
</simple-page-master>
</layout-master-set>
<fo:page-sequence>
<fo:flow flow-name="xsl-region-body">
<fo:block>
MCN SOLUTION PVT LTD
</block>
</flow>
</page-sequence>
|
Further Readings
You may also want to read these related articles :
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here