DEVELOPER'S ZONE 

 SHOP 


 SEARCH 

 LIVE HELP 
[logo]
 Products
 Demos
 Stories
 Solutions
 Support
 Download
 Customers
 Partners
 Company
 Sitemap

 Overview


 1003 Loan Application (live)


 ACORD Insurance


 Business Graphics


 Chess Viewer


 DiType Examples


 DocBook Service


 Dynamic Barcodes


 Dynamic W-9s


 Examples with sources


 FO Test Suite


 FO Tips & Tricks


 Hammer Art


 How It Works


 HP "Design & Print"


 Legal Documents


 Oracle Dynamic Reports


 XML RG Report Generator


 PDF Examples


 Sample Books


 W3C Specifications


 XML Conference



Download Now!



RenderX offers all our software on a trial basis so that our prospects can easily see why thousands of customers have selected XEP to meet their needs.

Why not download a trial version today and see for yourself!

FO Tips and Tricks

Examples in this set share a common simple XML markup. The backbone XSLT stylesheet generic.xsl contains basic templates that produce valid XSL FO (XSLFO) documents given one of these examples. Most individual XML files have a complementary stylesheet that demonstrates specific XSL FO techniques employed for a particular use case or trick. All these stylesheets import generic.xsl backbone. Images referenced in this set can be downloaded here: images.zip.

Character-by-character font selection strategy

Explains use of font-selection-strategy attribute with character-by-character value for texts in mixed languages or different charsets.

Source XML: charbychar.xml
Stylesheets needed: generic.xsl
Output: charbychar.fo charbychar.pdf

Creating drop capitals using side floats

Create dropped capitals from either plain text or image.

Source XML: dropcap.xml
Stylesheets needed: generic.xsl dropcap.xsl
Output: dropcap.fo dropcap.pdf

Basic use of side floats

Shows how to use <fo:float> elements with different values of clear property to create incuts (illustrations) and floating headers.

Source XML: float.xml
Stylesheets needed: generic.xsl float.xsl
Output: float.fo float.pdf

Fonts embedding

Embeds fonts of different types (Type1, TrueType, CJK) and shows appopropiate configuration settings.

Source XML: fontembed.xml
Stylesheets needed: generic.xsl
Output: fontembed.fo fontembed.pdf

Scaling images using scale-to-fit

Scales down images using scale-to-fit value of content-width and content-height traits.

Source XML: image-scale.xml
Stylesheets needed: generic.xsl image-scale.xsl
Output: image-scale.fo image-scale.pdf

Creating document indexes using RenderX extensions

Creates document indexes using RenderX extensions. Single-page and range references, different styling for index entries.

Source XML: index.xml
Stylesheets needed: generic.xsl index.xsl
Output: index.fo index.pdf

Creating marginalia using side floats

Creates marginalia (notes on margins synchronized with the main text) using <fo:float> elements together with margin property.

Source XML: marginalia.xml
Stylesheets needed: generic.xsl marginalia.xsl
Output: marginalia.fo marginalia.pdf

Instream SVG in XSL FO (XSLFO): Tree graphs

Creates XSL FO (XSLFO) document with embedded SVG graphic generated from arbitrary XML data. Shows one possible usecase of SVG usage - generation of tree graphs from phrase constituent structures.

Source XML: svg1.xml
Stylesheets needed: generic.xsl svg1.xsl
Output: svg1.fo svg1.pdf

Instream SVG in XSL FO (XSLFO): Diagrams

Creates XSL FO (XSLFO) document with embedded SVG graphic generated from arbitrary XML data. Shows one possible usecase of SVG usage - generation of a diagram based on numeric data stored in XML.

Source XML: svg2.xml
Stylesheets needed: generic.xsl svg2.xsl
Output: svg2.fo svg2.pdf

Use of rx:table-omit-initial-header parameter

Shows use of rx:table-omit-initial-header RenderX extension attribute to create continuation headers in tables.

Source XML: table-header.xml
Stylesheets needed: generic.xsl table-header.xsl
Output: table-header.fo table-header.pdf

Decimal point alignment using fo:list-block or fo:leader

Emulates the effect of text-alignment="." using fo:list-block or fo:leader elements.

Source XML: decalign.xml
Stylesheets needed: generic.xsl decalign.xsl
Output: decalign.fo decalign.pdf

News

April 30, 2008
New Product Trial Release:
DiType 1.9 Trial


DiType turns manuscripts into
type in PDF and PostScript. It
accepts manuscripts in a number of
popular XML markup vocabularies.

More news...

April 29, 2008
RenderX PDF Forms
White Paper


View your free copy of "Integrating
RenderX XSL FO Technology
with iText for High Performance
Dynamic Forms Generation".

More news...

April 28, 2008
RenderX TransPromo
White Paper


View your free copy of
"Using RederX for TransPromo".

More news...

April 25, 2008
XEP 4.12 released

Multicolumn and unique footnotes extensions, PDF/A support, custom meta-fields.

More news...