DEVELOPER'S ZONE
SHOP
LIVE HELP
RenderX logo  
Live Help

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

August 25, 2010
VDPMill 3.3 released

This release brings job queuing
application with an XML-RPC
interface, VDPMill Control Panel
as a console to configure and
run VDPMill components, a user-
friendly GUI application to create
VDPMill job tickets, a new plugin
for page numbering with several
criteria. Error handling improve-
ments are made for document
processing.

More news...

June 3, 2010
VDPMill 3.2 released

This release includes XML
job ticket support as the main
format for GUI application
project files, customized post-
processing (OMR, Transpromo)
support for separated/joined
output. The API samples and
documentation have been
updated.

More news...

May 4, 2010
VisualXSL 2.3.1 released

This is a recommended bugfix
release that includes several
issues resolved, including
JavaScript for radiobuttons and
action buttons in PDF forms,
further improvements over
Undo operations, and several
display problems.

More news...

May 1, 2010
VDPMill 3.1 released

This release includes OMR
and Transpromo support
and common plugin interface.
Improved XEPOUT documents
processing and control panel.

More news...

April 16, 2010
VisualXSL 2.3 released

Improved fillable PDF Forms
and JavaScript blocks,
support for different output
formats, improved Paragraph
editor and Address blocks,
new samples and workflows
in User Reference, and more.

More news...

April 2, 2010
RenderX at 2010 AIIM/On Demand

Visit us in Booth #1709
and #1543 at the
Pennsylvania Convention
Center, Philadelphia, PA,
April 20-22, 2010.

More news...

April 1, 2010
XEP 4.18 released

Additional support for
document-level Javascript
in PDF, bookmarks in XPS,
multimedia objects in PDF
support additional player
controls.

More news...

March 31, 2010
VDPMill 3.0 released

This is fully redesigned VDPMill
with document processing
recovery, simultaneous joined/
separated output files generation,
and new powerful control panel
options.

More news...

January 15, 2010
VisualXSL 2.2 released

Major improvements over
Table Builder, Improved visual
appearance and navigation in
Design layout, new examples,
and improved layout
of the User’s Guide.

More 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...