This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Parameters 'default.encoding'and'saxon.character.representation'
- To: Norman Walsh <ndw at nwalsh dot com>
- Subject: Re: DOCBOOK-APPS: Parameters 'default.encoding'and'saxon.character.representation'
- From: Jirka Kosek <jirka at kosek dot cz>
- Date: Mon, 20 Aug 2001 11:22:38 +0200
- Cc: docbook-apps at lists dot oasis-open dot org
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <997967743.1744.9.camel@perina> <871ymcys6d.fsf@nwalsh.com>
Norman Walsh wrote:
>
> / Martin Perina <docbk-app@ataco.cz> was heard to say:
> | cannot find this parameter in non-chunking stylesheets. Is this
> | a bug or is there some other way how to specify output encoding
> | for .html files?
>
> Uh, that's a bug. Or at least an oversight. Request it at
> sf.net/projects/docbook/ please.
I think, that in non-chunked HTML ve cann't set ouput encoding
dynamicaly by parameters because encoding attribute on <xsl:output> is
not AVT.
AFAIK, only solution for non-chunked HTML is to create customization
layer which overrides default encoding:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:saxon="http://icl.com/saxon"
extension-element-prefixes="saxon">
<xsl:import href="/path/to/xsl/html/docbook.xsl"/>
<xsl:output method="html" encoding="windows-1250"
saxon:character-representation="native"/>
</xsl:stylesheet>
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>