source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.legalnotice.link.xml@ 67f507c

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.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 67f507c 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: 2.6 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="generate.legalnotice.link">
7<refmeta>
8<refentrytitle>generate.legalnotice.link</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>generate.legalnotice.link</refname>
13<refpurpose>Write legalnotice to separate chunk and generate link?</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="generate.legalnotice.link.frag"><xsl:param name="generate.legalnotice.link" select="0"/></src:fragment>
18</refsynopsisdiv>
19
20<refsection><info><title>Description</title></info>
21
22<para>If the value of <parameter>generate.legalnotice.link</parameter>
23is non-zero, the stylesheet:
24
25<itemizedlist>
26 <listitem>
27 <para>writes the contents of <tag>legalnotice</tag> to a separate
28 HTML file</para>
29 </listitem>
30 <listitem>
31 <para>inserts a hyperlink to the <tag>legalnotice</tag> file</para>
32 </listitem>
33 <listitem>
34 <para>adds (in the HTML <literal>head</literal>) either a single
35 <literal>link</literal> or element or multiple
36 <literal>link</literal> elements (depending on the value of the
37 <parameter>html.head.legalnotice.link.multiple</parameter>
38 parameter), with the value or values derived from the
39 <parameter>html.head.legalnotice.link.types</parameter>
40 parameter</para>
41 </listitem>
42 </itemizedlist>
43
44 Otherwise, if <parameter>generate.legalnotice.link</parameter> is
45 zero, <tag>legalnotice</tag> contents are rendered on the title
46 page.</para>
47
48<para>The name of the separate HTML file is computed as follows:
49
50<orderedlist>
51<listitem>
52 <para>If a filename is given by the <tag class="xmlpi">dbhtml filename</tag>
53processing instruction, that filename is used.</para>
54</listitem>
55<listitem>
56 <para>If the legalnotice has an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
57attribute, and if <parameter>use.id.as.filename</parameter> != 0, the filename
58is the concatenation of the id value and the value of the <parameter>html.ext</parameter>
59parameter.</para>
60</listitem>
61<listitem>
62 <para>If the legalnotice does not have an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
63 attribute, or if <parameter>use.id.as.filename</parameter> = 0, the filename is the concatenation of "ln-",
64auto-generated id value, and <parameter>html.ext</parameter> value.
65 </para>
66</listitem>
67</orderedlist>
68
69</para>
70
71</refsection>
72</refentry>
Note: See TracBrowser for help on using the repository browser.