Ignore:
Timestamp:
01/27/2024 09:42:07 PM (8 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
81f727a, 8ccf082a
Parents:
5d064fb
git-author:
Pierre Labastie <pierre.labastie@…> (01/27/2024 04:31:56 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (01/27/2024 09:42:07 PM)
Message:

Tidy doctype and xml declarations in .html output

Part of a patch by Boian Berberov

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/chunk-slave.xsl

    r5d064fb ra4eaba6  
    1010  <!-- Upstream XHTML presentation templates -->
    1111  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
     12
     13  <xsl:param name="chunker.output.method" select="'xml'"/>
     14  <xsl:param name="chunker.output.encoding" select="'UTF-8'"/>
     15  <xsl:param name="chunker.output.media-type" select="'application/xhtml+xml'"/>
     16  <xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD XHTML 1.0 Strict//EN'"/>
     17  <xsl:param name="chunker.output.doctype-system" select="'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'"/>
     18  <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
     19  <xsl:param name="chunker.output.indent" select="'no'"/>
    1220
    1321  <!-- Including our customized elements templates -->
     
    3139  <xsl:param name="ulink.target" select="''"/>
    3240  <xsl:param name="css.decoration" select="0"/>
    33 
    34   <!-- No XML declaration -->
    35   <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
    3641
    3742  <!-- Control generation of ToCs and LoTs -->
Note: See TracChangeset for help on using the changeset viewer.