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