source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/html.head.legalnotice.link.types.xml@ 64a2cd5

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 64a2cd5 was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.1 KB
Line 
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.head.legalnotice.link.types">
7<refmeta>
8<refentrytitle>html.head.legalnotice.link.types</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>html.head.legalnotice.link.types</refname>
13<refpurpose>Specifies link types for legalnotice link in html head</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="html.head.legalnotice.link.types.frag">
18<xsl:param name="html.head.legalnotice.link.types">copyright</xsl:param>
19</src:fragment>
20</refsynopsisdiv>
21
22<refsection><info><title>Description</title></info>
23
24<para>The value of
25<parameter>html.head.legalnotice.link.types</parameter> is a
26space-separated list of link types, as described in <link xlink:href="http://www.w3.org/TR/html401/types.html#type-links">Section 6.12
27of the HTML 4.01 specification</link>. If the value of the
28<parameter>generate.legalnotice.link</parameter> parameter is
29non-zero, then the stylesheet generates (in the
30<literal>head</literal> section of the HTML source) either a single
31HTML <literal>link</literal> element or, if the value of the
32<parameter>html.head.legalnotice.link.multiple</parameter> is
33non-zero, one <literal>link</literal> element for each link type
34specified. Each <literal>link</literal> has the following attributes:
35
36<itemizedlist>
37 <listitem>
38 <para>a <tag class="attribute">rel</tag> attribute whose
39 value is derived from the value of
40 <parameter>html.head.legalnotice.link.types</parameter></para>
41 </listitem>
42 <listitem>
43 <para>an <tag class="attribute">href</tag> attribute whose
44 value is set to the URL of the file containing the
45 <tag>legalnotice</tag></para>
46 </listitem>
47 <listitem>
48 <para>a <tag class="attribute">title</tag> attribute whose
49 value is set to the title of the corresponding
50 <tag>legalnotice</tag> (or a title programatically
51 determined by the stylesheet)</para>
52 </listitem>
53</itemizedlist>
54
55For example:
56
57<screen> &lt;link rel="license" href="ln-id2524073.html" title="Legal Notice"&gt;</screen>
58</para>
59
60<refsection><info><title>About the default value</title></info>
61
62 <para>In an ideal world, the default value of
63 <parameter>html.head.legalnotice.link.types</parameter> would
64 probably be “<literal>license</literal>”, since the content of the
65 DocBook <tag>legalnotice</tag> is typically license
66 information, not copyright information. However, the default value
67 is “<literal>copyright</literal>” for pragmatic reasons: because
68 that’s among the set of “recognized link types” listed in <link xlink:href="http://www.w3.org/TR/html401/types.html#type-links">Section
69 6.12 of the HTML 4.01 specification</link>, and because certain
70 browsers and browser extensions are preconfigured to recognize that
71 value.</para>
72</refsection>
73
74</refsection>
75</refentry>
Note: See TracBrowser for help on using the repository browser.