make.clean.html.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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.clean.html">
  7. <refmeta>
  8. <refentrytitle>make.clean.html</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>make.clean.html</refname>
  13. <refpurpose>Make HTML conform to modern coding standards</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="make.clean.html.frag">
  17. <xsl:param name="make.clean.html" select="0"/>
  18. </src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>If <parameter>make.clean.html</parameter> is true, the stylesheets take
  22. extra effort to ensure that the resulting HTML is conforms to
  23. modern HTML coding standards. In addition to eliminating
  24. excessive and noncompliant coding, it moves presentation
  25. HTML coding to a CSS stylesheet.</para>
  26. <para>The resulting HTML is dependent on
  27. CSS for formatting, and so the stylesheet is capable of
  28. generating a supporting CSS file. The <parameter>docbook.css.source</parameter>
  29. and <parameter>custom.css.source</parameter> parameters control
  30. how a CSS file is generated.</para>
  31. <para>If you require your CSS to reside in the HTML
  32. <tag>head</tag> element, then the <parameter>generate.css.header</parameter>
  33. can be used to do that.</para>
  34. <para>The <parameter>make.clean.html</parameter> parameter is
  35. different from <parameter>html.cleanup</parameter>
  36. because the former changes the resulting markup; it does not use extension functions
  37. like the latter to manipulate result-tree-fragments,
  38. and is therefore applicable to any XSLT processor.</para>
  39. <para>If <parameter>make.clean.html</parameter> is set to zero (the default),
  40. then the stylesheet retains its original
  41. <quote>old style</quote>
  42. HTML formatting features.</para>
  43. </refsection>
  44. </refentry>