blob: 4ca02ffdabdeffafb35fe60c9151da0faab5a3eb [file] [log] [blame]
<refentry xmlns=""
version="5.0" xml:id="">
<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
<refpurpose>Specifies link types for legalnotice link in html head</refpurpose>
<src:fragment xml:id="">
<xsl:param name="">copyright</xsl:param>
<para>The value of
<parameter></parameter> is a
space-separated list of link types, as described in <link xlink:href="">Section 6.12
of the HTML 4.01 specification</link>. If the value of the
<parameter></parameter> parameter is
non-zero, then the stylesheet generates (in the
<literal>head</literal> section of the HTML source) either a single
HTML <literal>link</literal> element or, if the value of the
<parameter></parameter> is
non-zero, one <literal>link</literal> element for each link type
specified. Each <literal>link</literal> has the following attributes:
<para>a <tag class="attribute">rel</tag> attribute whose
value is derived from the value of
<para>an <tag class="attribute">href</tag> attribute whose
value is set to the URL of the file containing the
<para>a <tag class="attribute">title</tag> attribute whose
value is set to the title of the corresponding
<tag>legalnotice</tag> (or a title programatically
determined by the stylesheet)</para>
For example:
<screen> &lt;link rel="license" href="ln-id2524073.html" title="Legal Notice"&gt;</screen>
<refsection><info><title>About the default value</title></info>
<para>In an ideal world, the default value of
<parameter></parameter> would
probably be “<literal>license</literal>”, since the content of the
DocBook <tag>legalnotice</tag> is typically license
information, not copyright information. However, the default value
is “<literal>copyright</literal>” for pragmatic reasons: because
that’s among the set of “recognized link types” listed in <link xlink:href="">Section
6.12 of the HTML 4.01 specification</link>, and because certain
browsers and browser extensions are preconfigured to recognize that