make.valid.html.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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">
  7. <refmeta>
  8. <refentrytitle>make.valid.html</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>make.valid.html</refname>
  13. <refpurpose>Attempt to make sure the HTML output is valid HTML</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="make.valid.html.frag">
  17. <xsl:param name="make.valid.html" select="0"/>
  18. </src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>If <parameter>make.valid.html</parameter> is true, the stylesheets take
  22. extra effort to ensure that the resulting HTML is valid. This may mean that some
  23. <tag>para</tag> tags are translated into HTML <tag>div</tag>s or
  24. that other substitutions occur.</para>
  25. <para>This parameter is different from <parameter>html.cleanup</parameter>
  26. because it changes the resulting markup; it does not use extension functions
  27. to manipulate result-tree-fragments and is therefore applicable to any
  28. XSLT processor.</para>
  29. </refsection>
  30. </refentry>