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.version.profile">
8
<refentrytitle>refentry.version.profile</refentrytitle>
9
<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
12
<refname>refentry.version.profile</refname>
13
<refpurpose>Specifies profile for refentry "version" data</refpurpose>
17
<src:fragment xml:id="refentry.version.profile.frag">
18
<xsl:param name="refentry.version.profile">
19
(($info[//productnumber])[last()]/productnumber)[1]|
20
(($info[//edition])[last()]/edition)[1]|
21
(($info[//releaseinfo])[last()]/releaseinfo)[1]
26
<refsection><info><title>Description</title></info>
28
<para>The value of <parameter>refentry.version.profile</parameter> is
29
a string representing an XPath expression. It is evaluated at
30
run-time and used only if
31
<parameter>refentry.version.profile.enabled</parameter> is
32
non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering logic
33
"hard coded" into the stylesheets is used.</para>
35
<para>A "source.name" is one part of a (potentially) two-part
36
<replaceable>Name</replaceable> <replaceable>Version</replaceable>
37
"source" field. For more details, see the documentation for the
38
<parameter>refentry.source.name.profile</parameter> parameter.</para>