W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2002

ANN: Character dump utility for XSL-FO (WWW-XSL-FO)

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Mon, 11 Nov 2002 09:46:33 -0500
Message-Id: <5.1.0.14.0.20021111094621.02da4ae0@junk>
To: XSLFO-WWW <www-xsl-fo@w3.org>

In my work with streams of bi-directional characters in a file, I found it 
awkward to confirm my test files had the correct Unicode characters for 
each test.

Recognizing the power of the character formatting in XSL-FO, I wrote a 
simple Python utility that dumps the character contents of a file, showing 
the glyph of the character and the character's hexadecimal Unicode code 
point.  At this time abbreviations are shown for only a very few of the 
many Unicode characters that don't have glyphs, but the ones needed for 
bidirectionality are supported.

This utility creates an XSL-FO file ready for processing without using or 
needing to use XSLT.  This demonstrates the use of XSL-FO strictly as a 
layout language for the output of a general-purpose text-processing utility.

It is available for free download ... follow the "Resource Library (free 
developer tools)" link from our home page noted below.

I hope this is found to be useful.  Comments are more than welcome!

................... Ken

cc: XML-Dev, XSL-LIST, WWW-XSL-FO, Yahoo-XSL-FO

--
Upcoming hands-on in-depth XSLT/XPath and/or XSL-FO:
-                             North America:  Feb 3 - Feb 7,2003

G. Ken Holman               mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.        http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                     Definitive XSLT and XPath
ISBN 0-13-140374-5                             Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1             Practical Formatting Using XSL-FO
Next conference training:                    2002-12-08,03-03,06
Received on Monday, 11 November 2002 09:51:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT