summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/params/make.valid.html.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kdoctools/docbook/xsl/params/make.valid.html.xml')
-rw-r--r--kdoctools/docbook/xsl/params/make.valid.html.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/make.valid.html.xml b/kdoctools/docbook/xsl/params/make.valid.html.xml
new file mode 100644
index 000000000..d73a1881a
--- /dev/null
+++ b/kdoctools/docbook/xsl/params/make.valid.html.xml
@@ -0,0 +1,30 @@
+<refentry id="make.valid.html">
+<refmeta>
+<refentrytitle>make.valid.html</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>make.valid.html</refname>
+<refpurpose>Attempt to make sure the HTML output is valid HTML</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='make.valid.html.frag'>
+<xsl:param name="make.valid.html" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>make.valid.html</parameter> is true, the stylesheets take
+extra effort to ensure that the resulting HTML is valid. This may mean that some
+<sgmltag>para</sgmltag> tags are translated into HTML <sgmltag>div</sgmltag>s or
+that other substitutions occur.</para>
+
+<para>This parameter is different from <parameter>html.cleanup</parameter>
+because it changes the resulting markup; it does not use extension functions
+to manipulate result-tree-fragments and is therefore applicable to any
+XSLT processor.</para>
+
+</refsect1>
+</refentry>