]> git.stg.codes - stg.git/blob - doc/xslt/params/refentry.date.profile.enabled.xml
Merge remote-tracking branch 'origin/stg-2.409' into ticket37
[stg.git] / doc / xslt / params / refentry.date.profile.enabled.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="refentry.date.profile.enabled">
7 <refmeta>
8 <refentrytitle>refentry.date.profile.enabled</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>refentry.date.profile.enabled</refname>
13 <refpurpose>Enable refentry "date" profiling?</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="refentry.date.profile.enabled.frag">
18 <xsl:param name="refentry.date.profile.enabled">0</xsl:param></src:fragment>
19 </refsynopsisdiv>
20
21 <refsection><info><title>Description</title></info>
22
23 <para>If the value of
24 <parameter>refentry.date.profile.enabled</parameter> is non-zero, then
25 during <tag>refentry</tag> metadata gathering, the info profile
26 specified by the customizable
27 <parameter>refentry.date.profile</parameter> parameter is used.</para>
28
29 <para>If instead the value of
30 <parameter>refentry.date.profile.enabled</parameter> is zero (the
31 default), then "hard coded" logic within the DocBook XSL stylesheets
32 is used for gathering <tag>refentry</tag> "date" data.</para>
33
34 <para>If you find that the default <tag>refentry</tag>
35 metadata-gathering behavior is causing incorrect "date" data to show
36 up in your output, then consider setting a non-zero value for
37 <parameter>refentry.date.profile.enabled</parameter> and adjusting the
38 value of <parameter>refentry.date.profile</parameter> to cause correct
39 data to be gathered. </para>
40
41 <para>Note that the terms "source" and "date" have special meanings in
42 this context. For details, see the documentation for the
43 <parameter>refentry.date.profile</parameter> parameter.</para>
44
45 </refsection>
46 </refentry>