MOON
Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 PHP/5.4.10
System: Linux vps.presagepowered.net 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: mckernan (512)
PHP: 5.4.10
Disabled: NONE
Upload Files
File: //usr/share/doc/docbook-style-xsl-1.69.1/doc/manpages/refentry.source.name.profile.html
<html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
   <title>refentry.source.name.profile</title><link rel="stylesheet" href="../ref.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.0"><link rel="start" href="index.html" title="Manpages Parameter Reference"><link rel="up" href="refmeta.html" title="Refentry metadata gathering"><link rel="prev" href="refentry.source.name.suppress.html" title="refentry.source.name.suppress"><link rel="next" href="refentry.source.name.profile.enabled.html" title="refentry.source.name.profile.enabled"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">refentry.source.name.profile</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="refentry.source.name.suppress.html">Prev</a>&nbsp;</td><th width="60%" align="center">Refentry metadata gathering</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="refentry.source.name.profile.enabled.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="refentry.source.name.profile"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>refentry.source.name.profile &#8212; Specifies profile for refentry "source name" data</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><a name="refentry.source.name.profile.frag"></a><pre class="programlisting">
&lt;xsl:param name="refentry.source.name.profile"&gt;
  ($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()
&lt;/xsl:param&gt;
</pre></div><div class="refsect1" lang="en"><a name="d0e1433"></a><h2>Description</h2><p>The value of <a href="refentry.source.name.profile.html"><em class="parameter"><code>refentry.source.name.profile</code></em></a>
is a string representing an XPath expression. It is evaluated at
run-time and used only if
<a href="refentry.source.name.profile.enabled.html"><em class="parameter"><code>refentry.source.name.profile.enabled</code></em></a> is
non-zero. Otherwise, the <a href="http://docbook.org/tdg/en/html/refentry.html"><code class="sgmltag-element">refentry</code></a> metadata-gathering logic
"hard coded" into the stylesheets is used.</p><p>A "source name" is one part of a (potentially) two-part
<em class="replaceable"><code>Name</code></em>&nbsp;<em class="replaceable"><code>Version</code></em>
"source" field. In man pages, it is usually displayed in the left
footer of the page. The <code class="literal">man(7)</code> man page describes
this as "the source of the command", and provides the following
examples:
</p><div class="itemizedlist"><ul type="disc"><li><p>For binaries, use something like: GNU, NET-2, SLS
    Distribution, MCC Distribution.</p></li><li><p>For system calls, use the version of the kernel that you
    are currently looking at: Linux 0.99.11.</p></li><li><p>For library calls, use the source of the function: GNU, BSD
    4.3, Linux DLL 4.4.1.</p></li></ul></div><p>
</p><p>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,
<em class="replaceable"><code>Name</code></em>&nbsp;<em class="replaceable"><code>Version</code></em>,
where:
</p><div class="variablelist"><dl><dt><span class="term">Name</span></dt><dd><p>product name (e.g., BSD) or org. name (e.g., GNU)</p></dd><dt><span class="term">Version</span></dt><dd><p>version number</p></dd></dl></div><p>
Each part is optional. If the <em class="replaceable"><code>Name</code></em> is a
product name, then the <em class="replaceable"><code>Version</code></em> is probably
the version of the product. Or there may be no
<em class="replaceable"><code>Name</code></em>, in which case, if there is a
<em class="replaceable"><code>Version</code></em>, it is probably the version
of the item itself, not the product it is part of. Or, if the
<em class="replaceable"><code>Name</code></em> is an organization name, then there
probably will be no <em class="replaceable"><code>Version</code></em>.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="refentry.source.name.suppress.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="refmeta.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="refentry.source.name.profile.enabled.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">refentry.source.name.suppress&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;refentry.source.name.profile.enabled</td></tr></table></div></body></html>