mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Tidy doctype and xml declarations in .html output
Part of a patch by Boian Berberov
This commit is contained in:
parent
5d064fb3c3
commit
a4eaba6d55
@ -10,6 +10,14 @@
|
|||||||
<!-- Upstream XHTML presentation templates -->
|
<!-- Upstream XHTML presentation templates -->
|
||||||
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
|
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
|
||||||
|
|
||||||
|
<xsl:param name="chunker.output.method" select="'xml'"/>
|
||||||
|
<xsl:param name="chunker.output.encoding" select="'UTF-8'"/>
|
||||||
|
<xsl:param name="chunker.output.media-type" select="'application/xhtml+xml'"/>
|
||||||
|
<xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD XHTML 1.0 Strict//EN'"/>
|
||||||
|
<xsl:param name="chunker.output.doctype-system" select="'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'"/>
|
||||||
|
<xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
|
||||||
|
<xsl:param name="chunker.output.indent" select="'no'"/>
|
||||||
|
|
||||||
<!-- Including our customized elements templates -->
|
<!-- Including our customized elements templates -->
|
||||||
<xsl:include href="common.xsl"/>
|
<xsl:include href="common.xsl"/>
|
||||||
<xsl:include href="xhtml/lfs-admon.xsl"/>
|
<xsl:include href="xhtml/lfs-admon.xsl"/>
|
||||||
@ -31,9 +39,6 @@
|
|||||||
<xsl:param name="ulink.target" select="''"/>
|
<xsl:param name="ulink.target" select="''"/>
|
||||||
<xsl:param name="css.decoration" select="0"/>
|
<xsl:param name="css.decoration" select="0"/>
|
||||||
|
|
||||||
<!-- No XML declaration -->
|
|
||||||
<xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
|
|
||||||
|
|
||||||
<!-- Control generation of ToCs and LoTs -->
|
<!-- Control generation of ToCs and LoTs -->
|
||||||
<xsl:param name="generate.toc">
|
<xsl:param name="generate.toc">
|
||||||
book toc,title
|
book toc,title
|
||||||
|
@ -10,6 +10,13 @@
|
|||||||
<!-- Upstream XHTML templates -->
|
<!-- Upstream XHTML templates -->
|
||||||
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
|
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
|
||||||
|
|
||||||
|
<xsl:output method="xml"
|
||||||
|
encoding="UTF-8"
|
||||||
|
media-type="application/xhtml+xml"
|
||||||
|
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
|
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
|
||||||
|
omit-xml-declaration="yes"
|
||||||
|
indent="no" />
|
||||||
<!-- Include our customized templates -->
|
<!-- Include our customized templates -->
|
||||||
<xsl:include href="common.xsl"/>
|
<xsl:include href="common.xsl"/>
|
||||||
<xsl:include href="xhtml/lfs-index.xsl"/>
|
<xsl:include href="xhtml/lfs-index.xsl"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user