blob: 534e050504f072528d84d5ba792136bf24fd2afb [file] [log] [blame]
<refentry xmlns=""
version="5.0" xml:id="">
<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
<refpurpose>Write legalnotice to separate chunk and generate link?</refpurpose>
<src:fragment xml:id=""><xsl:param name="" select="0"/></src:fragment>
<para>If the value of <parameter></parameter>
is non-zero, the stylesheet:
<para>writes the contents of <tag>legalnotice</tag> to a separate
HTML file</para>
<para>inserts a hyperlink to the <tag>legalnotice</tag> file</para>
<para>adds (in the HTML <literal>head</literal>) either a single
<literal>link</literal> or element or multiple
<literal>link</literal> elements (depending on the value of the
parameter), with the value or values derived from the
Otherwise, if <parameter></parameter> is
zero, <tag>legalnotice</tag> contents are rendered on the title
<para>The name of the separate HTML file is computed as follows:
<para>If a filename is given by the <tag class="xmlpi">dbhtml filename</tag>
processing instruction, that filename is used.</para>
<para>If the legalnotice has an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
attribute, and if <parameter></parameter> != 0, the filename
is the concatenation of the id value and the value of the <parameter>html.ext</parameter>
<para>If the legalnotice does not have an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
attribute, or if <parameter></parameter> = 0, the filename is the concatenation of "ln-",
auto-generated id value, and <parameter>html.ext</parameter> value.