← Prev in month
← Prev in thread
Re: DOCBOOK-APPS: Parameters 'default.encoding'and'saxon.character.representation'
Norman Walsh wrote: > > / Martin Perina <> 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: http://www.kosek.cz
← Prev in month
← Prev in thread