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="refentry.date.profile">
\r
8 <refentrytitle>refentry.date.profile</refentrytitle>
\r
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
\r
12 <refname>refentry.date.profile</refname>
\r
13 <refpurpose>Specifies profile for refentry "date" data</refpurpose>
\r
17 <src:fragment xml:id="refentry.date.profile.frag">
\r
18 <xsl:param name="refentry.date.profile">
\r
19 (($info[//date])[last()]/date)[1]|
\r
20 (($info[//pubdate])[last()]/pubdate)[1]
\r
25 <refsection><info><title>Description</title></info>
\r
27 <para>The value of <parameter>refentry.date.profile</parameter> is a
\r
28 string representing an XPath expression. It is evaluated at run-time
\r
29 and used only if <parameter>refentry.date.profile.enabled</parameter>
\r
30 is non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering
\r
31 logic "hard coded" into the stylesheets is used.</para>
\r
33 <para> The <literal>man(7)</literal> man page describes this content
\r
34 as "the date of the last revision". In man pages, it is the content
\r
35 that is usually displayed in the center footer.</para>
\r