Chess Viewer the Power of XSL Lies in Its Ability to Perform Radical Transformations of the XML Data Source

Chess Viewer the Power of XSL Lies in Its Ability to Perform Radical Transformations of the XML Data Source

DEVELOPER'S ZONE SHOP SEARCH Products Demos Stories Solutions Support Download Customers Partners Company Sitemap Chess Viewer 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 Fischer-Euwe.fo Fischer-Euwe.pdf Fischer-Euwe.ps Robert Fischer - Max Euwe Fischer-Tal.xml Fischer-Tal.fo Fischer-Tal.pdf Fischer-Tal.ps Robert Fischer - Mikhail Tal Kasparov-Karpov.xml Kasparov-Karpov.fo Kasparov-Karpov.pdf Kasparov-Karpov.ps Garry Kasparov - Anatoly Karpov Note: 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 . Products | Demos | Stories | Solutions | Support | Download | Customers | Partners | Company | Sitemap Copyright © 2001-2007 RenderX, Inc. All rights reserved..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us