]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed output encoding to utf-8 so a targets database
authorBob Stayton <bobs@sagehill.net>
Sat, 13 Jul 2002 08:24:33 +0000 (08:24 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 13 Jul 2002 08:24:33 +0000 (08:24 +0000)
can handle mixed languages.
Added omit-xml-declaration to get around the standalone
attribute in the XML declaration not being permitted
in system entities.

xsl/common/targets.xsl

index d996a7f16c305b14f907e83531d435a00c3a8dfa..f9568da1955e31d8076261197f4cc3c3662401cb 100644 (file)
@@ -49,7 +49,8 @@ document output.
           <xsl:call-template name="write.chunk">
             <xsl:with-param name="filename" select="$targets.filename"/>
             <xsl:with-param name="method" select="'xml'"/>
-            <xsl:with-param name="encoding" select="$chunker.output.encoding"/>
+            <xsl:with-param name="encoding" select="'utf-8'"/>
+            <xsl:with-param name="omit-xml-declaration" select="'yes'"/>
             <xsl:with-param name="indent" select="'yes'"/>
             <xsl:with-param name="quiet" select="0"/>
             <xsl:with-param name="content">