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

Subject: Re: [xsl] xsl and toc.hhc (was xml -> htmlhelp and character 8220)
From: Jirka Kosek <jirka@xxxxxxxx>
Date: Wed, 17 Nov 2004 07:44:19 -0500
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@xxxxxxxx     http://www.kosek.cz
------------------------------------------------------------------
   Profesionalnm 9kolenm a poradenstvm v oblasti technologim XML.
      Podmvejte se na na9 novl spu9tln} web http://DocBook.cz
        Podrobn} pxehled 9kolenm http://xmlguru.cz/skoleni/
------------------------------------------------------------------

[demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]

Current Thread