BOOKMARK & SHARE Bookmark and Share
RSS RenderX RSS
The Future of Your Document Is Here
RenderX logo
Contact Us

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 11, 2022
New Product Release: InGrid 1.0

EnMasse replacement:
More secure, faster;
plus REST API;
pure Java.
More news...


June 21, 2022
EnMasse 3.4 released

Security fixes:
No 64-bit SSL ciphers, XSS;
improved logging.
More news...


December 23, 2021
No Log4j in RenderX products

No Log4j in products.
We continuously monitor.
Allways update to latest.
More news...


October 15, 2020
EnMasse 3.3 released

HTTP/1.1 server status;
performance improvements;
improved logging.
More news...


December 13, 2019
XEP 4.30 released

Rounded corners extension;
PDF Form Fields:
deselecatble radio buttons,
text alignment, bug fixes.
More news...


RenderX RSS RSS: Subscribe

Add to MyYahoo!