]> git.stg.codes - stg.git/blob - doc/xslt/params/refentry.manual.fallback.profile.xml
Use ptrdiff_t type for length variable to prevent comparsion signed and
[stg.git] / doc / xslt / params / refentry.manual.fallback.profile.xml
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.manual.fallback.profile">
7 <refmeta>
8 <refentrytitle>refentry.manual.fallback.profile</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>refentry.manual.fallback.profile</refname>
13 <refpurpose>Specifies profile of "fallback" for refentry "manual" data</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="refentry.manual.fallback.profile.frag">
18 <xsl:param name="refentry.manual.fallback.profile">
19 refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param>
20 </src:fragment>
21 </refsynopsisdiv>
22
23 <refsection><info><title>Description</title></info>
24
25 <para>The value of
26 <parameter>refentry.manual.fallback.profile</parameter> is a string
27 representing an XPath expression. It is evaluated at run-time and
28 used only if no "manual" data can be found by other means (that is,
29 either using the <tag>refentry</tag> metadata-gathering logic "hard
30 coded" in the stylesheets, or the value of
31 <parameter>refentry.manual.profile</parameter>, if it is
32 enabled).</para>
33
34 <important>
35 <para>Depending on which XSLT engine you run, either the EXSLT
36 <function>dyn:evaluate</function> extension function (for xsltproc or
37 Xalan) or <function>saxon:evaluate</function> extension function (for
38 Saxon) are used to dynamically evaluate the value of
39 <parameter>refentry.manual.fallback.profile</parameter> at
40 run-time. If you don't use xsltproc, Saxon, Xalan -- or some other
41 XSLT engine that supports <function>dyn:evaluate</function> -- you
42 must manually disable fallback processing by setting an empty value
43 for the <parameter>refentry.manual.fallback.profile</parameter>
44 parameter.</para>
45 </important>
46
47 </refsection>
48 </refentry>