This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]