HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
XSL-FO documents are XML files with output information.
XSL-FO documents stored in .fo .fob file extension or file. You can also XSL-FO document is stored as an .xml file extension, doing so can make XSL-FO documents are easier to access XML editor.
XSL-FO document structure is as follows:
XSL-FO documents belonging to XML documents, and therefore need to start with an XML declaration:
<Fo: root> element is the root element of XSL-FO documents. The root element must declare XSL-FO namespace:
<Fo: layout-master-set> element contains one or more page templates:
Each <fo: simple-page-master> element contains a single page template. Each template must have a unique name (master-name):
One or more <fo: page-sequence> element can describe the page content. master-reference attribute with the same name to refer to the simple-page-master template:
NOTE: master-reference value "A4" does not actually describe a predefined page format.It is just a name. You can use any name like "MyPage", "MyTemplate" and so on.