xsl-list
[Top] [All Lists]

RE: xsl and toc.hhc (was xml -> htmlhelp and character 8220)

2004-11-19 10:44:55
I've incorporated this class into the Saxon codebase, so Saxon 8.2 will
include windows-1252 natively.

Michael Kay

 

-----Original Message-----
From: Jirka Kosek [mailto:jirka(_at_)kosek(_dot_)cz] 
Sent: 17 November 2004 12:44
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] xsl and toc.hhc (was xml -> htmlhelp and 
character 8220)

Allin Cottrell wrote:

(I don't really understand why saxon can't output windows-1252, but
java is a mystery to me.)

So finally there is a solution for you (and all other DocBook 
user who 
need to output in windows-1252).

1. Download snapshot of stylesheets from 
http://docbook.sourceforge.net/snapshots/

2. Add file extensions/saxon65.jar into your classpath

3. Add -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 
parameter to JVM

So you will use something like this to start Saxon:

@java -cp c:\saxon\saxon.jar;c:\saxon\saxon65.jar 
-Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 
com.icl.saxon.StyleSheet  %1 %2 %3 %4 %5 %6 %7 %8 %9

Then you can use windows-1252 as encoding name in 
htmlhelp.encoding and 
chunker.output.encoding paramaters.

HTH,
                                      Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka(_at_)kosek(_dot_)cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--