]> git.stg.codes - stg.git/blob - doc/xslt/params/html.head.legalnotice.link.multiple.xml
Fixed installation path for rlm_stg project.
[stg.git] / doc / xslt / params / html.head.legalnotice.link.multiple.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="html.head.legalnotice.link.multiple">
7 <refmeta>
8 <refentrytitle>html.head.legalnotice.link.multiple</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>html.head.legalnotice.link.multiple</refname>
13 <refpurpose>Generate multiple link instances in html head for legalnotice?</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="html.head.legalnotice.link.multiple.frag">
18 <xsl:param name="html.head.legalnotice.link.multiple" select="1"/>
19 </src:fragment>
20 </refsynopsisdiv>
21
22 <refsection><info><title>Description</title></info>
23
24 <para>If <parameter>html.head.legalnotice.link.multiple</parameter> is
25 non-zero and the value of
26 <parameter>html.head.legalnotice.link.types</parameter> contains
27 multiple link types, then the stylesheet generates (in the
28 <literal>head</literal> section of the HTML source) one
29 <literal>link</literal> element for each link type specified. For
30 example, if the value of
31 <parameter>html.head.legalnotice.link.types</parameter> is
32 “<literal>copyright license</literal>”:
33
34 <screen>  &lt;link rel="copyright" href="ln-id2524073.html" title="Legal Notice"&gt;
35   &lt;link rel="license" href="ln-id2524073.html" title="Legal Notice"&gt;</screen>
36
37  Otherwise, the stylesheet generates generates a single
38  <literal>link</literal> instance; for example:
39
40 <screen>  &lt;link rel="copyright license" href="ln-id2524073.html" title="Legal Notice"&gt;</screen>
41  
42 </para>
43 </refsection>
44 </refentry>