This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: 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: jirka@kosek.cz
http://www.kosek.cz