]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/params/current.docid.xml
Evergreen Version Fix to reflect the new EG releases 2.0.10 and 1.6.1.9
[working/Evergreen.git] / stylesheets / evergreen_docbook_files / docbook-xsl-1.75.2 / params / current.docid.xml
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="current.docid"> \r
7 <refmeta> \r
8 <refentrytitle>current.docid</refentrytitle> \r
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> \r
10 </refmeta> \r
11 <refnamediv> \r
12 <refname>current.docid</refname> \r
13 <refpurpose>targetdoc identifier for the document being\r
14 processed</refpurpose> \r
15 </refnamediv> \r
16 <refsynopsisdiv> <src:fragment xml:id="current.docid.frag">\r
17 <xsl:param name="current.docid"/>\r
18 </src:fragment> \r
19 </refsynopsisdiv> \r
20 <refsection><info><title>Description</title></info> \r
21  \r
22 <para>When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the <literal>targetdoc</literal> identifiers for both documents, as they appear in the <parameter>target.database.document</parameter> database file. This parameter passes to the stylesheet\r
23 the targetdoc identifier of the current document, since that\r
24 identifier does not appear in the document itself. </para>\r
25 <para>This parameter can also be used for print output. If an olink's  <literal>targetdoc</literal>  id differs from the <literal>current.docid</literal>, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also <parameter>olink.doctitle</parameter> to enable that feature.</para> \r
26 </refsection> \r
27 </refentry>\r