Next in thread → Next in month →

Re: DOCBOOK-APPS: troubles after changed encoding in XSL 1.58

From
Jirka Kosek <>
Date
2002-12-04T13:41:57+00:00
ID
Thread
Re: DOCBOOK-APPS: troubles after changed encoding in XSL 1.58
ABX wrote:

> So looks like UTF-8 is always set only when docbook.xsl is choosed. In case of
> chunk.xsl everything works fine. I would like to set encoding for docbook.xsl
> template.
> 
> I don't know much about XSL but I found in chunker.xsl that encoding is taken
> from $encoding which is taken from $chunker.output.encoding. But I can't find
> equivalent in docbook.xsl.

As its name suggest chunker.output.encoding is used only when chunking.
If you want to change encoding in single HTML output, you must create
customization layer with this:

<xsl:import href="..../path/to/docbook.xsl"/>
<xsl:output encoding="ISO-8859-1"/>


				Jirka

-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: 
  http://www.kosek.cz
Next in thread → Next in month →