[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: East-Asian Output encoding with XSLT?

Subject: RE: East-Asian Output encoding with XSLT?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 26 Jun 2000 10:01:58 +0100
encoding in saxon
> I am trying to use XSLT to publish resources for different East-Asian
> countries. I would like to produce local encodings in Big5 
> and GBK, possible also Shift JIS. I tried XT and SAXON so far, but they
did not 
> seem to act as desired upon the statement that defined the output
encoding.

There are two things needed to support a new output encoding in Saxon.
(a) the encoding must be supported by the Java runtime. (This gives me
problems, because I haven't found a way of asking the Java runtime which
encodings it supports: the only thing I can do is try it, and catch the
exception. Anyone know a workaround?)
(b) there needs to be a subclass of com.icl.saxon.output.CharacterSet for
the encoding. This simply defines which Unicode characters can be
represented in the encoding. At present it's not possible to introduce a new
CharacterSet without source change, but the change is trivial.

Mike Kay 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.