DEVELOPER'S ZONE 

 SHOP 


 SEARCH 

 LIVE HELP 
Live Help
RenderX logo
 Products
 Demos
 Stories
 Solutions
 Support
 Download
 Customers
 Partners
 Company
 Sitemap

 Overview


 XEP Engine


 DiType


 DocuType


 XEPWin Engine


 VisualXSL


 INX2FO


 Connectivity Kit


 WinSuite Kit


 EnMasse Kit


 DataStyler


 XML Report Generator


 Docbench


 Patents


 Free Tools



Download Now!



XEP 4

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!

XSL FO to HTML Converter

XSL Formatting Objects are an XML dialect so they may be converted using an XSL style sheet. The translator is an attempt to materialize this idea.

Background

XEP Engine


These style sheets have been prepared by RenderX development team as an add-on to our principal product, XEP Engine. Please download the style sheet and try to view your favorite XSL FO (XSLFO) documents in a browser. Don't expect the result to be perfect — see below about limitations. If you plan to extend it to cover more or another version of the recommendation, please share your accomplishments with us.

Possible Use


A stylesheet like this may be used to reduce the complexity in a publishing system with multiple target media. It enables you to generate XSL FO (XSLFO) from semantic XML data, and use it as a source for all other presentation formats. When your data structure changes, you only have to modify XML-to-XSL FO stylesheet

Technical Notes


The stylesheet tries to convert XSL FO (XSLFO) data into HTML+CSS1. CSS2 support is still rare among browsers, and hardly can be relied upon. Even with CSS1, there are many discrepancies between Microsoft Internet Explorer and Netscape Communicator. However, one can hardly do this task without using any stylesheet capabilities at all, so CSS1 seemed to be a common denominator.

It goes without saying that XSL FO (XSLFO) is much more powerful than HTML+CSS1. Moreover, since paged media are organized differently from scrollable media, absolute similarity is not achievable. Therefore, the conversion aims mostly at giving the user a possibility to browse XSL FO (XSLFO) files, without pretending to preserve all formatting subtleties predisposed for quality printing. The task is also simplified by common vocabulary shared by XSL FO (XSLFO) and CSS. With this premises, the problem can be solved by amazingly simple means. A 30 kb stylesheet does the bulk of the work.

Certainly, not everything can be achieved easily. For instance, calculating the inheritance propagation along the FO tree is a really tough task, as is parsing CSS2 shorthands in XSLT. We didn't even attempted to tackle this. in our opinion, this is more easily achieved by a preprocessor. RenderX has such a preprocessor built into XEP, redirecting its output into a file gives us a "canonical" XSL FO (XSLFO) document — with all shorthands expanded, inheritance propagated, length units normalized, etc.

However, if your XSL FO (XSLFO) documents do not make use of shorthands, multiple columns, absolutely positioned blocks and similar advanced features, the results of the conversion can be very close to the truth even without preprocessing. This requires special care while writing XSL FO (XSLFO) stylesheets, but our experience shows it can be accomplished.

News

December 4, 2009
XEP 4.17 released

Adds support for multi-media
objects like Flash and MPEG,
enhanced PDF Forms through
support of Javascript libraries
and hooks for fields, adds XPS
as a new output format.

More news...

November 10, 2009
Format Large Reports with VDPMill

This white paper presents concepts that can be applied to create a solution for very large report formatting.

More news...

September 3, 2009
RenderX at Print09

Visit us in Booth #6521
at the McCormick Place,
Chicago, IL,
September 11-16, 2009.

More news...

July 7, 2009
XEP 4.16 released

'PDF Forms' extension,
new options and wider
support for images in
HTML and SVG generators,
native JPEG images and
IMM instructions in AFP
generator.

More news...

April 9, 2009
XEP 4.15 released

HTML backend, SVG gradients
and patterns, opacity in SVG
and alpha channel in PNG,
lower memory requirements.

More news...

March 9, 2009
RenderX at 2009 AIIM/On Demand

Visit us in Booth #1432
and #1449 at the
Pennsylvania Convention
Center, Philadelphia, PA,
March 30-April 2, 2009.

More news...

December 12, 2008
XEP 4.14 released

SVG backend, XEPOUT as
external graphics, control
image data placement in PS.

More news...

September 17, 2008
RenderX at Oracle
OpenWorld 2008


Visit us in Booth #3730 in
San Francisco at Moscone
West September 21-24.

More news...

August 19, 2008
XEP 4.13 released

'Transpromo' and 'watermark'
extensions and bug fixes.

More news...

July 25, 2008
DiType 2.2 Release

PDF and PS backend
configuration options,
improved TTF, faster
rendering of tables.

More news...