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.manual.fallback.profile">
\r
8 <refentrytitle>refentry.manual.fallback.profile</refentrytitle>
\r
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
\r
12 <refname>refentry.manual.fallback.profile</refname>
\r
13 <refpurpose>Specifies profile of "fallback" for refentry "manual" data</refpurpose>
\r
17 <src:fragment xml:id="refentry.manual.fallback.profile.frag">
\r
18 <xsl:param name="refentry.manual.fallback.profile">
\r
19 refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param>
\r
23 <refsection><info><title>Description</title></info>
\r
26 <parameter>refentry.manual.fallback.profile</parameter> is a string
\r
27 representing an XPath expression. It is evaluated at run-time and
\r
28 used only if no "manual" data can be found by other means (that is,
\r
29 either using the <tag>refentry</tag> metadata-gathering logic "hard
\r
30 coded" in the stylesheets, or the value of
\r
31 <parameter>refentry.manual.profile</parameter>, if it is
\r
35 <para>Depending on which XSLT engine you run, either the EXSLT
\r
36 <function>dyn:evaluate</function> extension function (for xsltproc or
\r
37 Xalan) or <function>saxon:evaluate</function> extension function (for
\r
38 Saxon) are used to dynamically evaluate the value of
\r
39 <parameter>refentry.manual.fallback.profile</parameter> at
\r
40 run-time. If you don't use xsltproc, Saxon, Xalan -- or some other
\r
41 XSLT engine that supports <function>dyn:evaluate</function> -- you
\r
42 must manually disable fallback processing by setting an empty value
\r
43 for the <parameter>refentry.manual.fallback.profile</parameter>
\r