DEVELOPER'S ZONE 

 SHOP 


 SEARCH 

 LIVE HELP 
Live Help
RenderX 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


 Proceedings



Free Personal Edition!



XEP 4

Free software for non-commercial use:

Name:
Company:
Email (Required):

More information on the Free Personal Edition is here.

Chess Viewer: Demonstration of XSL FO and XEP

The power of XSL lies in its ability to perform radical transformations of the XML data source. This page contains yet another proof for this fact: you can build a chessgame viewer with a stylesheet!

The source document is a transcription of a chess game played by Garry Kasparov against a chess supercomputer -- IBM Deep Blue. The game is encoded in a form resembling the well-known Portable Game Notation (PGN) format. The source is very compact: a sample game on this page [DeepBlue.xml] is less than 4 kBytes in size.

The stylesheet converts this arid text into a sequence of board diagrams, drawing every intermediate position as a graphical image (a special chess font is used). Applying a 23 kB stylesheet [chess.xsl], we get a 415 kBytes (!) FO stream [DeepBlue.fo]. These numbers give an idea of how deep the transformation is.

The final step of the whole procedure consists in converting the result into PDF using XEP. The resulting PDF file [DeepBlue.pdf] is much smaller than the source FO stream -- less than 90 kBytes. (XEP implements PDF compression).

We hope XSL fans will enjoy this example; and XSL foes will acknowledge its power!

More chess games created by the same stylesheet:

 
Description
 

FO Source  
 

PDF PostScript
 
  Fischer-Euwe.xml
Robert Fischer - Max Euwe
Fischer-Euwe.fo  Fischer-Euwe.pdf 
Fischer-Euwe.ps 
  Fischer-Tal.xml
Robert Fischer - Mikhail Tal
Fischer-Tal.fo  Fischer-Tal.pdf 
Fischer-Tal.ps 
  Kasparov-Karpov.xml
Garry Kasparov - Anatoly Karpov
Kasparov-Karpov.fo  Kasparov-Karpov.pdf 
Kasparov-Karpov.ps 

We have used an unabridged chess notation; the original PGN data are even more concise. We know it is possible to process even the short chess notation by XSL, and gladly leave this exercise to volunteers .


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

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