Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

XSL-FO Tutorial
XSL-FO Introduction
XSL-FO Documents
XSL-FO Areas
XSL-FO Output
XSL-FO Flow
XSL-FO Pages
XSL-FO Blocks
XSL-FO Lists
XSL-FO Table
XSL-FO Software

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


XSL-FO Pages

Previous Next



XSL-FO Pages

To define the layout of pages XSL-FO uses page templates called "Page Masters".




Page Templates

To define the layout of pages XSL-FO uses page templates called "Page Masters" and each template must have a unique name.


In example given below three <fo:simple-page-master> elements, define three different templates and each template has a different name.

The first template is called "intro" and it is used for introduction pages.

The second and third templates are called "left" and "right" and used for even and odd page numbers.


<fo:simple-page-master master-name="intro">
<fo:region-body margin="5in" />
</fo:simple-page-master>

<fo:simple-page-master master-name="left">
<fo:region-body margin-left="2in" margin-right="3in" />
</fo:simple-page-master>

<fo:simple-page-master master-name="right">
<fo:region-body margin-left="3in" margin-right="2in" />
</fo:simple-page-master>




Page Size

To define the page size of a page XSL-FO Page size used the following attributes:

  • page-width defines the width of a page
  • page-height defines the height of a page



Page Margins

To define the margins of a page XSL-FO Page Margins used the following attributes:

  • margin-top
  • margin-bottom
  • margin-left
  • margin-right
  • margin defines all four margins



Page Regions

To define the regions of a page XSL-FO Page regions used the following attributes:

  • region-body:- For body region
  • region-before:- For top region
  • region-after:- For bottom region
  • region-start:- For left region
  • region-end:- For right region

Note:- The region-start,region-end,region-before and region-after is a part of the body region.To avoid text in the body region and to overwrite text in these regions, the body region must have margins as a minimum size of these regions.


Margin Top
M
a
r
g
i
n

L
e
f
t
 

REGION BEFORE
R
E
G
I
O
N

S
T
A
R
T
 

 

 

 

 

REGION BODY

 

 

 

 

 

 

R
E
G
I
O
N

E
N
D

REGION AFTER
M
a
r
g
i
n

R
i
g
h
t
Margin Bottom



Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previous Next

Keywords : xsl tutorial, xsl reference, apache fo, xsl examples, xsl example, xsl cdata, xsl text, xsl count, xsl attribute, xsl name, xsl variable, xsl document, xsl dtd, xsl namespace, docbook xsl, xsl xpath, xsl element, xsl javascript, xsl css, xsl processor, xsl xhtml, xsl stylesheet, xsl template, html fo, xsl fo block, fo reference, svg xsl, xsl date, xsl html, xsl fo inline, xsl output, pdf fo, xsl node, fo table, docbook fo, fo examples, display xsl, xsl tag, fo text, print pages, xsl using, fo tutorial


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.