]> git.stg.codes - stg.git/blob - doc/xslt/params/make.valid.html.xml
Add notifications in test tariffs class
[stg.git] / doc / xslt / params / make.valid.html.xml
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
16 <refsynopsisdiv>
17 <src:fragment xml:id="make.valid.html.frag">
18 <xsl:param name="make.valid.html" select="0"/>
19 </src:fragment>
20 </refsynopsisdiv>
21
22 <refsection><info><title>Description</title></info>
23
24 <para>If <parameter>make.valid.html</parameter> is true, the stylesheets take
25 extra effort to ensure that the resulting HTML is valid. This may mean that some
26 <tag>para</tag> tags are translated into HTML <tag>div</tag>s or
27 that other substitutions occur.</para>
28
29 <para>This parameter is different from <parameter>html.cleanup</parameter>
30 because it changes the resulting markup; it does not use extension functions
31 to manipulate result-tree-fragments and is therefore applicable to any
32 XSLT processor.</para>
33
34 </refsection>
35 </refentry>