html.cleanup.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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="html.cleanup">
  7. <refmeta>
  8. <refentrytitle>html.cleanup</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>html.cleanup</refname>
  13. <refpurpose>Attempt to clean up the resulting HTML?</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="html.cleanup.frag">
  17. <xsl:param name="html.cleanup" select="1"/>
  18. </src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>If non-zero, and if the <link xlink:href="http://www.exslt.org/">EXSLT</link>
  22. extensions are supported by your processor, the resulting HTML will be
  23. <quote>cleaned up</quote>. This improves the chances that the
  24. resulting HTML will be valid. It may also improve the formatting of
  25. some elements.</para>
  26. <para>This parameter is different from <parameter>make.valid.html</parameter>
  27. because it uses extension functions to manipulate result-tree-fragments.</para>
  28. </refsection>
  29. </refentry>