source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/refentry.version.profile.xml@ f6e9c180

7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since f6e9c180 was b1a51ac1, checked in by Krejzi <krejzi@…>, 11 years ago

Import new branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.6 KB
Line 
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">
7<refmeta>
8<refentrytitle>refentry.version.profile</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>refentry.version.profile</refname>
13<refpurpose>Specifies profile for refentry "version" data</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
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]
22</xsl:param>
23</src:fragment>
24</refsynopsisdiv>
25
26<refsection><info><title>Description</title></info>
27
28<para>The value of <parameter>refentry.version.profile</parameter> is
29a string representing an XPath expression. It is evaluated at
30run-time and used only if
31<parameter>refentry.version.profile.enabled</parameter> is
32non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering logic
33"hard coded" into the stylesheets is used.</para>
34
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>
39
40</refsection>
41</refentry>
Note: See TracBrowser for help on using the repository browser.