[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Parameters 'default.encoding'and'saxon.character.representation'
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC