]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/params/refentry.date.profile.xml
Add stylesheets for our evergreen docbook site.
[working/Evergreen.git] / stylesheets / evergreen_docbook_files / docbook-xsl-1.75.2 / params / refentry.date.profile.xml
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
7 <refmeta>\r
8 <refentrytitle>refentry.date.profile</refentrytitle>\r
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>\r
10 </refmeta>\r
11 <refnamediv>\r
12 <refname>refentry.date.profile</refname>\r
13 <refpurpose>Specifies profile for refentry "date" data</refpurpose>\r
14 </refnamediv>\r
15 \r
16 <refsynopsisdiv>\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
21 </xsl:param>\r
22 </src:fragment>\r
23 </refsynopsisdiv>\r
24 \r
25 <refsection><info><title>Description</title></info>\r
26 \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
32 \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
36 \r
37 </refsection>\r
38 </refentry>\r