refentry.source.name.profile — Specifies profile for refentry "source name" data
<xsl:param name="refentry.source.name.profile"> ($info/productname |$parentinfo/productname |$info/orgname |$parentinfo/orgname |$info/corpname |$parentinfo/corpname |$info/corpcredit |$parentinfo/corpcredit |$info/corpauthor |$parentinfo/corpauthor |$info/author/orgname |$parentinfo/author/orgname |$info//publishername |$parentinfo//publishername)[1]/node() </xsl:param>
The value of refentry.source.name.profile
is a string representing an XPath expression. It is evaluated at
run-time and used only if
refentry.source.name.profile.enabled
is
non-zero. Otherwise, the refentry
metadata-gathering logic
"hard coded" into the stylesheets is used.
A "source name" is one part of a (potentially) two-part
Name
Version
"source" field. In man pages, it is usually displayed in the left
footer of the page. The man(7)
man page describes
this as "the source of the command", and provides the following
examples:
For binaries, use something like: GNU, NET-2, SLS Distribution, MCC Distribution.
For system calls, use the version of the kernel that you are currently looking at: Linux 0.99.11.
For library calls, use the source of the function: GNU, BSD 4.3, Linux DLL 4.4.1.
In practice, there are many pages that simply have a Version
number in the "source" field. So, it looks like what we have is a
two-part field,
Name
Version
,
where:
product name (e.g., BSD) or org. name (e.g., GNU)
version number
Each part is optional. If the Name
is a
product name, then the Version
is probably
the version of the product. Or there may be no
Name
, in which case, if there is a
Version
, it is probably the version
of the item itself, not the product it is part of. Or, if the
Name
is an organization name, then there
probably will be no Version
.