1 <refentry xmlns="http://docbook.org/ns/docbook"
\r
2 xmlns:xlink="http://www.w3.org/1999/xlink"
\r
3 xmlns:xi="http://www.w3.org/2001/XInclude"
\r
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
\r
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
\r
6 version="5.0" xml:id="generate.revhistory.link">
\r
8 <refentrytitle>generate.revhistory.link</refentrytitle>
\r
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
\r
12 <refname>generate.revhistory.link</refname>
\r
13 <refpurpose>Write revhistory to separate chunk and generate link?</refpurpose>
\r
17 <src:fragment xml:id="generate.revhistory.link.frag"><xsl:param name="generate.revhistory.link" select="0"/></src:fragment>
\r
20 <refsection><info><title>Description</title></info>
\r
22 <para>If non-zero, the contents of <tag>revhistory</tag> are written
\r
23 to a separate HTML file and a link to the file is
\r
24 generated. Otherwise, <tag>revhistory</tag> contents are rendered on
\r
25 the title page.</para>
\r
27 <para>The name of the separate HTML file is computed as follows:
\r
31 <para>If a filename is given by the <tag class="xmlpi">dbhtml filename</tag> processing instruction,
\r
32 that filename is used.</para>
\r
35 <para>If the revhistory has an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
\r
36 attribute, and if <parameter>use.id.as.filename</parameter> != 0, the filename is the concatenation of
\r
37 the id value and the value of the <parameter>html.ext</parameter> parameter.</para>
\r
40 <para>If the revhistory does not have an <tag class="attribute">id</tag>/<tag class="attribute">xml:id</tag>
\r
41 attribute, or if <parameter>use.id.as.filename</parameter> = 0, the filename is the concatenation of "rh-",
\r
42 auto-generated id value, and <parameter>html.ext</parameter> value.
\r