| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | <refentry xmlns="http://docbook.org/ns/docbook"          xmlns:xlink="http://www.w3.org/1999/xlink"          xmlns:xi="http://www.w3.org/2001/XInclude"          xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"          version="5.0" xml:id="make.clean.html"><refmeta><refentrytitle>make.clean.html</refentrytitle><refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo></refmeta><refnamediv><refname>make.clean.html</refname><refpurpose>Make HTML conform to modern coding standards</refpurpose></refnamediv><refsynopsisdiv><src:fragment xml:id="make.clean.html.frag"><xsl:param name="make.clean.html" select="0"/></src:fragment></refsynopsisdiv><refsection><info><title>Description</title></info><para>If <parameter>make.clean.html</parameter> is true, the stylesheets takeextra effort to ensure that the resulting HTML is conforms tomodern HTML coding standards.  In addition to eliminatingexcessive and noncompliant coding, it moves presentationHTML coding to a CSS stylesheet.</para><para>The resulting HTML is dependent onCSS for formatting, and so the stylesheet is capable ofgenerating a supporting CSS file. The <parameter>docbook.css.source</parameter>and <parameter>custom.css.source</parameter> parameters controlhow a CSS file is generated.</para><para>If you require your CSS to reside in the HTML <tag>head</tag> element, then the <parameter>generate.css.header</parameter>can be used to do that.</para><para>The <parameter>make.clean.html</parameter> parameter isdifferent from <parameter>html.cleanup</parameter>because the former changes the resulting markup; it does not use extension functionslike the latter to manipulate result-tree-fragments,and is therefore applicable to any XSLT processor.</para><para>If <parameter>make.clean.html</parameter> is set to zero (the default),then the stylesheet retains its original <quote>old style</quote>HTML formatting features.</para></refsection></refentry>
 |