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