1
<refentry xmlns="http://docbook.org/ns/docbook"
2
xmlns:xlink="http://www.w3.org/1999/xlink"
3
xmlns:xi="http://www.w3.org/2001/XInclude"
4
xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6
version="5.0" xml:id="make.valid.html">
8
<refentrytitle>make.valid.html</refentrytitle>
9
<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
12
<refname>make.valid.html</refname>
13
<refpurpose>Attempt to make sure the HTML output is valid HTML</refpurpose>
17
<src:fragment xml:id="make.valid.html.frag">
18
<xsl:param name="make.valid.html" select="0"/>
22
<refsection><info><title>Description</title></info>
24
<para>If <parameter>make.valid.html</parameter> is true, the stylesheets take
25
extra effort to ensure that the resulting HTML is valid. This may mean that some
26
<tag>para</tag> tags are translated into HTML <tag>div</tag>s or
27
that other substitutions occur.</para>
29
<para>This parameter is different from <parameter>html.cleanup</parameter>
30
because it changes the resulting markup; it does not use extension functions
31
to manipulate result-tree-fragments and is therefore applicable to any
32
XSLT processor.</para>