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">
8 <refentrytitle>refentry.date.profile.enabled</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
12 <refname>refentry.date.profile.enabled</refname>
13 <refpurpose>Enable refentry "date" profiling?</refpurpose>
17 <src:fragment xml:id="refentry.date.profile.enabled.frag">
18 <xsl:param name="refentry.date.profile.enabled">0</xsl:param></src:fragment>
21 <refsection><info><title>Description</title></info>
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>
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>
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>
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>