+++ /dev/null
-<refentry xmlns="http://docbook.org/ns/docbook"\r
- xmlns:xlink="http://www.w3.org/1999/xlink"\r
- xmlns:xi="http://www.w3.org/2001/XInclude"\r
- xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
- version="5.0" xml:id="generate.legalnotice.link">\r
-<refmeta>\r
-<refentrytitle>generate.legalnotice.link</refentrytitle>\r
-<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>\r
-</refmeta>\r
-<refnamediv>\r
-<refname>generate.legalnotice.link</refname>\r
-<refpurpose>Write legalnotice to separate chunk and generate link?</refpurpose>\r
-</refnamediv>\r
-\r
-<refsynopsisdiv>\r
-<src:fragment xml:id="generate.legalnotice.link.frag"><xsl:param name="generate.legalnotice.link" select="0"/></src:fragment>\r
-</refsynopsisdiv>\r
-\r
-<refsection><info><title>Description</title></info>\r
-\r
-<para>If the value of <parameter>generate.legalnotice.link</parameter>\r
-is non-zero, the stylesheet:\r
-\r
-<itemizedlist>\r
- <listitem>\r
- <para>writes the contents of <tag>legalnotice</tag> to a separate\r
- HTML file</para>\r
- </listitem>\r
- <listitem>\r
- <para>inserts a hyperlink to the <tag>legalnotice</tag> file</para>\r
- </listitem>\r
- <listitem>\r
- <para>adds (in the HTML <literal>head</literal>) either a single\r
- <literal>link</literal> or element or multiple\r
- <literal>link</literal> elements (depending on the value of the\r
- <parameter>html.head.legalnotice.link.multiple</parameter>\r
- parameter), with the value or values derived from the\r
- <parameter>html.head.legalnotice.link.types</parameter>\r
- parameter</para>\r
- </listitem>\r
- </itemizedlist>\r
-\r
- Otherwise, if <parameter>generate.legalnotice.link</parameter> is\r
- zero, <tag>legalnotice</tag> contents are rendered on the title\r
- page.</para>\r
-\r
-<para>The name of the separate HTML file is computed as follows:\r
-\r
-<orderedlist>\r
-<listitem>\r
- <para>If a filename is given by the <tag class="xmlpi">dbhtml filename</tag> \r
-processing instruction, that filename is used.</para>\r
-</listitem>\r
-<listitem>\r
- <para>If the legalnotice has an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag> \r
-attribute, and if <parameter>use.id.as.filename</parameter> != 0, the filename \r
-is the concatenation of the id value and the value of the <parameter>html.ext</parameter> \r
-parameter.</para>\r
-</listitem>\r
-<listitem>\r
- <para>If the legalnotice does not have an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>\r
- attribute, or if <parameter>use.id.as.filename</parameter> = 0, the filename is the concatenation of "ln-", \r
-auto-generated id value, and <parameter>html.ext</parameter> value.\r
- </para>\r
-</listitem>\r
-</orderedlist>\r
-\r
-</para>\r
-\r
-</refsection>\r
-</refentry>\r