xsl-list
[Top] [All Lists]

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

2004-11-17 05:44:19
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/
------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature