| HTML Tutorials |
|
|
| XML Tutorials |
|
|
| Browser Scripting |
|
|
| Server Scripting |
|
|
| .NET (dotnet) |
|
|
| Multimedia |
|
|
| Web Building |
|
|
| Java Tutorials |
|
|
| Programming Langauges |
|
|
| Soft Skills |
|
|
|
|
XSL-FO Blocks
|
XSL-FO output goes into blocks.This output is normally nested
inside <fo:block> elements
|
|
<fo:page-sequence>
<fo:flow flow-name="xsl-region-body">
<fo:block>
<!-- Output goes here -->
</fo:block>
</fo:flow>
</fo:page-sequence>
|
|
Block Area Attributes
|
|
Blocks are sequences of output:
|
|
<fo:block
border-width="1mm">
This block contains one millimeter border around it.
</fo:block>
|
Rectangular block area boxes,share many common area properties:
- space before
- space after
- margin
- border
- padding
|
|
The space before and space after is the empty space which separate the block from
the other blocks.
The margin is the empty area on the outside of the block.
The border is the rectangle drawn around the external edge of the area. It can
have different widths on all four sides. It can also be filled with different
colors and background images.
The padding is the area between the border and the content.
The content area consist actual content like pictures,text,graphics.
|
|
Attributes of Block Style
|
|
Blocks are sequences of output that can be individually styled:
|
|
<fo:block
font-size="12pt"
font-family="sans-serif">
This block of output will be written in a 12pt sans-serif font.
</fo:block>
|
|
Font attributes:
- font-family
- font-weight
- font-style
- font-size
- font-variant
Text attributes:
- text-align
- text-align-last
- text-indent
- start-indent
- end-indent
- wrap-option (defines word wrap)
- break-before (defines page breaks)
- break-after (defines page breaks)
- reference-orientation (defines text rotation in 90" increments)
|
Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
Keywords : xsl tutorial,
xsl reference,
xsl examples,
xsl attributes,
xsl cdata,
xsl example,
xsl elements,
xsl tags,
apache fo,
xsl tutorials,
xsl attribute,
xsl name,
xsl text,
w3schools xsl,
xsl syntax,
xsl dtd,
xsl namespace,
xsl variable,
xsl count,
xsl document,
xsl xpath,
xsl element,
xsl javascript,
xsl entity,
xsl css,
xsl doctype,
xsl sort,
xsl xhtml,
xsl schema,
html fo,
xsl href,
xsl encoding,
w3c xsl,
|
|
| HTML Quizes |
|
|
| XML Quizes |
|
|
| Browser Scripting Quizes |
|
|
| Server Scripting Quizes |
|
|
| .NET (dotnet) Quizes |
|
|
| Multimedia Quizes |
|
|
| Web Building Quizes |
|
|
| Java Quizes |
|
|
| Programming Langauges Quizes |
|
|
| Soft Skills Quizes |
|
|
|