DEVELOPER'S ZONE
BOOKMARK & SHARE Bookmark and Share
RSS RenderX RSS
SHOP
LIVE HELP
RenderX logo  
Live Help

Free Personal Edition!

XEP 4
Free software for
non-commercial use:
Free XEP Personal Edition!

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

March 5, 2011
XEP 4.19 released

New extensions for RichMedia in PDF,
sticky notes and file attachments, and
overprinting. Extended XSL1.1 scaling
attributes, and styling for bookmarks.
XForms output, support for SVG in XPS
generator, and other improvements.

More news...


March 1, 2011
RenderX at 2011 AIIM

Visit us in Booth #1820 and #1109 at
the Walter E. Washington Conv. Center,
Washington D.C., March 22 - 24, 2011

More news...


February 22, 2011
VisualXSL 2.4.2 released

Improved support for large designs.
Fully configurable custom template
generation. UI related bugfixes
and table editor improvements.

More news...


December 8, 2010
VisualXSL 2.4 released

Support for external EXSLT library -
Mvp.Xml EXSLT.NET module. UI & logic
related bugfixes. Improved XSLT security.

More news...


October 19, 2010
VDPMill 3.4 released

Major release: a GUI application
for full job control, lots of usability
improvements, and bug fixes.

More news...


September 27, 2010
XEPWin 3.0 released

Release enables better utilization
of computational resources in multi-
core environments. XEPWin 3.0 also
contains improvements in configuration,
error reporting and XEPWin API.

More news...


September 8, 2010
EnMasse 2.3 released

EnMasse is now easier than before!
The Windows version includes
a graphical configuration editor
with built in validation support.
The platform-independent version
was shipped with command-line
installer and configuration script.

More news...


August 25, 2010
VDPMill 3.3 released

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.

More news...


June 3, 2010
VDPMill 3.2 released

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.

More news...


May 4, 2010
VisualXSL 2.3.1 released

Release includes JavaScript for
radiobuttons and action buttons
in PDF forms, further improvements
over Undo operations, and several
display problems.

More news...


RenderX RSS RSS: Subscribe

Add to Google Add to MyYahoo!